• + 0 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