You are viewing a single comment's thread. Return to all comments →
This challenge can be solved in O(n*K*K) time complexity and linear space complexity in my solution, I can't optimize further. My solution to this challenge https://blog.csdn.net/JetHsu1/article/details/131125934
Seems like cookies are disabled on this browser, please enable them to open this website
Cut Tree
You are viewing a single comment's thread. Return to all comments →
This challenge can be solved in O(n*K*K) time complexity and linear space complexity in my solution, I can't optimize further. My solution to this challenge https://blog.csdn.net/JetHsu1/article/details/131125934