Given two linked lists that merge at some point as shown below: Last four nodes are common to both the lists. Given pointers to the header nodes of each list, find the first common node. Note: If you do not want to read the solution, you can watch the video: Solution-1: Brute Force The brute-force solution […]
Published on September 04, 2018 01:01