Problem 1090. Create a random logical vector of N elements of which M are true.
Correct
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.