i see you solved in javascript, where input is always a 4-digit string.
so, no need for validation, (and your code does not validate this anyway)
Some tests differ from the description of the question: " The input will always be a 4 digit string, so there is no need for validation"
I guess that this could be 7kyu atleast.
Loading collection data...
i see you solved in javascript, where input is always a 4-digit string.
so, no need for validation, (and your code does not validate this anyway)
Some tests differ from the description of the question: " The input will always be a 4 digit string, so there is no need for validation"
I guess that this could be 7kyu atleast.