tom1024·12 tahun yang lalu·discussPlease note, that the solution from the post has O(n) space complexity (you modify the input and this counts as using the extra memory).
tom1024·17 tahun yang lalu·discussIt's EditAreahttp://www.cdolivet.com/index.php?page=editAreavery nice project on LPGL license.