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

36 Solutions

9 Solvers

Last Solution submitted on Jun 08, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers9

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!