• + 0 comments

    O(n+m) actually. O(N+K) in you case