Hi Jiahuan, I looked at your code for problem 222, very nice! To improve it, you may want to do it iteratively instead of using recursion. Shuo