fishercoder1534/Leetcode

Solve problem 222 iteratively

imsure opened this issue · 1 comments

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

Sure, that's a great idea! Thanks Shuo! I just updated it with a TODO item. ^ ^