Unless you're just learning how to code now, you've probably heard of the famous valid palindrome or 'is palindrome' problem. It's a common techni...
For further actions, you may consider blocking this person and/or reporting abuse
Why so long and complex?
it's properly right, but I think in coding interview we can't do like that π
If I were interviewing a candidate and they gave me that solution, I'd be perfectly happy - it shows knowledge of modern JS and is an efficient solution.
nice! interviewer may bawk at using reverse(), but hey if you can do it in 1 line, why not! π€£
:(
I read the post, and I don't understand why the author rowed...
And you confirmed my suspicions.
What if throw in some random characters. Like - ra@c#ec_aR