• + 0 comments

    hi

    this problem solution can be optimize further. here is the trick to solve this problem in O(K).

    https://youtu.be/bc7cxeDy308