This one and the other one, took the same code and pased. And i have written my own parser, so it dont matter how big the string is...no limits...haha. works on both.
But why so high kuy as 4 if the one row of code fix it in c#?
It seems like it yes. However, my code passes the link you provided, but not this one. It fails one of the smaller numbers.... Not quite sure why :) Can't find the bug.
Why?
wow all same idea :P plus all variables as well
Is this bad practice?
Yes u are correct totally same thing 100%
This one and the other one, took the same code and pased. And i have written my own parser, so it dont matter how big the string is...no limits...haha. works on both.
But why so high kuy as 4 if the one row of code fix it in c#?
@Chrico: In fact rather the other one can be considered as a duplicate as this one is older :)
Thank you very much.
I need more cool solutions... and more cool katas...
This comment is hidden because it contains spoiler information about the solution
It seems like it yes. However, my code passes the link you provided, but not this one. It fails one of the smaller numbers.... Not quite sure why :) Can't find the bug.
isn't this duplicated to https://www.codewars.com/kata/sum-strings-as-numbers/ ?