Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The example you give is false. Valid parentheses are not just defind by starting with an open paren
(
and ending with a closed paren)
. They have to be matched. Is)(
valid?`Convert
is in theSystem
namespace, so you have to defineusing System;
at the top of your solution. Note that you can also useint.Parse(string)
.array2.Length
is undefined and JS would never complain you about that, you should usearray2.length
An advice: Don't start your programmming career with JS.