Try each problem on paper first. Stuck? Reveal one hint at a time, read the approach, then compare your code with the JS and PHP solutions.
Write a function that returns the reverse of a string. Try it without using a built-in reverse helper first. Example
A phrase is a palindrome if, after converting all letters to lowercase and removing every non-alphanumeric character, it reads the same forwards and…
Given two lowercase strings a and b, return true if b is an anagram of a (it uses exactly the same letters the same number of times), otherwise false. Example 1…