After my first contact with a computer in the 1980's, I taught myself to program in BASIC and Z80 assembler. I went on to study Computer Science and have enjoyed a long career in Software Engineering.
Another approach you might want to try in to use the atmethod with the negative index to check both ends at once using an Array.every method on a destructured section of the string. Might not be the most efficient but another approach from which to learn.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Another approach you might want to try in to use the
atmethod with the negative index to check both ends at once using an Array.every method on a destructured section of the string. Might not be the most efficient but another approach from which to learn.