I agree
Its my first kata ive made. Didnt know that i can disable/forbide
string::length
#include <string>
This comment is hidden because it contains spoiler information about the solution
simple
really good but try not to use too much if conditions in this case you could have used one and perform swap a b.
Loading collection data...
I agree
Its my first kata ive made. Didnt know that i can disable/forbide
string::length
, thenstring::length
should be disabled/forbidden.#include <string>
This comment is hidden because it contains spoiler information about the solution
simple
really good but try not to use too much if conditions in this case you could have used one and perform swap a b.