Inspired by problem 660.

Given n return two disjoint sets of integers A and B with same cardinality having following property:

for i = 1:n

Try to minimize sets cardinality.

Solution Stats

35 Solutions

8 Solvers

Last Solution submitted on May 29, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers8

Suggested Problems

More from this Author40

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!