solutions and thoughts of crack the code interview, version 5