Problem 1844. Create a v-notch vector without "sort" function
32.74% Correct | 67.26% Incorrect
Last Solution submitted on Mar 11, 2023
ChrisR on 31 May 2021
The first test reads the file your_fcn_name.m, but the function template uses a different name. Is this a hacking problem?
Dyuman Joshi on 31 May 2021
Seems like it might have been overlooked while making a change to the problem recently (most likely banning the sort and/or related functions). It has been fixed now.
Solution CommentsShow comments
Problem Recent Solvers30
Number of 1s in a binary string
Set some matrix elements to zero
Generate a random matrix A of (1,-1)
More from this Author25
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!