Solutions for some problems from Cracking The Code Interview Fifth Ed., etc