• + 2 comments

    could you please explain me the working of the code?

    • + 0 comments

      i think test code bigger than long int,so we need a larger data structure

    • + 1 comment

      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.

      • + 0 comments

        tnks @kanahaiya