3 ms·
>Write the most efficient function you can that determines wether a given string is a palindrome. >When I offer a challenge like this in an interview, the firs
by sickbeard 10y ago
>Write the most efficient function you can that determines wether a given string is a palindrome.
>When I offer a challenge like this in an interview, the first thing I’m looking for is wether or not you ask me any questions
> /
* Tests wether or not a given string is a Palindrome
* @param {string} stringToTest - the string to test.
*/
Don't take coding advice for someone who can't spell whether.
- neotrinity 10y agoApparently wether is a castrated male sheep or a castrated male goat. Just saying.:D I have learnt something new today !
- TillE 10y agoSimilarly, "payed" is something you do on a ship. The hazards of relying on spellcheck.