|  | 
|  | 
| вернуться в форум | Is there non-greedy solution?Re: Is there non-greedy solution? I founded some non-greedy solution :) O(N^4)Re: Is there non-greedy solution? As far as I remember I solved it by math. My algo is likely to be O(N^3).Re: Is there non-greedy solution? Послано ile  17 июн 2010 03:59can you briefly describe what you did? i could solve it only with greedy approach... | 
 | 
|