• + 0 comments

    Complexity is O(N * M * dest_I * dest_J) if there is a solution (i.e. k >= dest.I + dest.J) and O(1) if there is none. miniature dachshund