• + 1 comment

    I used the same logic, it passes most of the tests but I get timeout error.

    • + 0 comments

      Hi,

      I have uploaded a video tutorial which can help you to understand the problem as well as logic.

      Here is the video tutorial for my solution O(n+m) complexity.

      https://youtu.be/hDhf04AJIRs

      Would really appreciate your feedback like, dislike , comment etc. on my video.