|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияYou shouldn't allocate memory for auxiliary array every time in your recursive method. You allocate this array O(K*log(N)) times. Try to allocate it only one time. Thank you very much. I have AC with Java too. |
|
|