|
|
back to boardA faster solution Is there a faster solution that the one with 3 for's. I would apreciate if there is one. O(N) time, O(1) additional memory Posted by Ves 24 Feb 2005 19:00 Re: A faster solution Yes, using dynamic programming (i use this method and stuck at WA 7) |
|
|