Problem 695. Parse string and identify specific string sequence in algebraic equation
Solution Stats
Problem Comments
-
1 Comment
I think the correct example solution is {'Y1', 'Y12', 'Y3'}.
Solution Comments
-
1 Comment
Good exercise. Two comments: 1) test case 3 has unbalanced parentheses. 2) Instruction should say that your are expecting results to be returned in sorted order, rather than the order in which they appear in the expression.
Problem Recent Solvers51
Suggested Problems
-
3814 Solvers
-
Return the 'Size' of a String of Code
123 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
6608 Solvers
-
206 Solvers
-
183 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!