-
1 Comment
yeungor
on 19 May 2017
I don't think you should hard code the lists you should be constructing. Regex is fine, but you're limiting yourself by making such a narrow solution.
I personally don't like the regex solution because I'm trying to find interesting things about the language and I don't want to run through and find the shortest non regexp.
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
463 Solvers
-
Compute a dot product of two vectors x and y
1015 Solvers
-
Split a string into chunks of specified length
1929 Solvers
-
Convert a Cell Array into an Array
2004 Solvers
-
Sum of odd numbers in a matrix
595 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!