solution of all practice in cracking-the-coding-interview