Please note, that the solution from the post has O(n) space complexity (you modify the input and this counts as using the extra memory).
It's EditArea http://www.cdolivet.com/index.php?page=editArea very nice project on LPGL license.
Please note, that the solution from the post has O(n) space complexity (you modify the input and this counts as using the extra memory).
It's EditArea http://www.cdolivet.com/index.php?page=editArea very nice project on LPGL license.