Rightmost Level Nodes - Coding problem | OneNoughtOne