Can anyone kindly check and fix the test suite. It appears that the function name 'balance' already exists on Cody. Thanks.
Error using balance:
First argument must be single or double.
This problem should either be corrected or removed from the String II series as the function name 'balance' already exists on Cody server. Hence, the String II badge can no longer be earned. Really discouraging...
Kindly correct the test suite.
Can anyone kindly check and fix the test suite. It appears that the function name 'balance' already exists on Cody. Thanks. Error using balance: First argument must be single or double.
I think this dude's "anyone" probably means you: @goc3 :)
@Bainhome, Thanks for the clarity. :)
Thanks for the tag, @bainhome. This problem has been fixed so that it is now solvable again.
This problem needs more test cases. For instance, ')(' is not balanced, and it would break a lot of "solutions".
Similar to Problem 80
Find the numeric mean of the prime numbers in a matrix.
6828 Solvers
Find all elements less than 0 or greater than 10 and replace them with NaN
13148 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
275 Solvers
280 Solvers
150 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!