Problem 1488. Generate binary combinations for a given number of bit(s)
50.47% Correct | 49.53% Incorrect
Last Solution submitted on Feb 01, 2023
Show 2 older comments
Claudio Gelmi on 4 May 2013
y_correct of Test case #1 is wrong; it requires [ ].
Richard Zapor on 4 May 2013
Case 1: [0;1]
andrea84 on 5 May 2013
test case 1 should be [0;1] ?
Ned Gulley on 6 May 2013
I cleaned up the problem statement and fixed the first test.
Claudio Gelmi on 7 May 2013
Solution CommentsShow comments
Problem Recent Solvers90
Find state names that start with the letter N
Return unique values without sorting
We love vectorized solutions. Problem 1 : remove the row average.
More from this Author16
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!