tag:blogger.com,1999:blog-8522573717713847738.post7641543153394778301..comments2024-03-28T00:14:29.070-07:00Comments on Yu's Coding Garden : leetcode Question: Sort ListAnonymoushttp://www.blogger.com/profile/00263085222060621782noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8522573717713847738.post-73569128710830298292014-08-24T02:42:06.720-07:002014-08-24T02:42:06.720-07:00I wonder why so many people ignore the calling sta...I wonder why so many people ignore the calling stack when doing the recursion.. Is it because it's easier solving it recursively than iteratively ?Anonymoushttps://www.blogger.com/profile/08519528303081105471noreply@blogger.comtag:blogger.com,1999:blog-8522573717713847738.post-33523905627200530682014-06-22T04:19:01.154-07:002014-06-22T04:19:01.154-07:00This is actually not constant space. When you do ...This is actually not constant space. When you do recursive, it is (log n) since you define the variables in each iteration.Anonymoushttps://www.blogger.com/profile/04160821862092700725noreply@blogger.com