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?`This comment is hidden because it contains spoiler information about the solution
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)
.I'm playing around with digits ;) but I always seem to have an error with the line: 'number = Convert.ToInt32(str);', even though other katas and pages show that this is a correct line for c# code to convert text to integer. I believe its the last error I have but I can't seem to solve it. Could anyone help? Thanks! (Error: The name 'Convert' does not exist in the current context)
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.
This comment is hidden because it contains spoiler information about the solution