Leetcode 160 | Intersection of two linked lists | Amazon Coding Interview

preview_player
Показать описание
Leetcode 160 | Intersection of two linked lists | Amazon Coding Interview [Two Pointers]

Write a program to find the node at which the intersection of two singly linked lists begins.

✅ Recommended playlists ►

📖 LEARNING RESOURCES

👋 Let’s Connect ►

Quick look:
0:00 Problem Description
01:50 Naive solution using hashset
04:08 Two Pointer Approach
07:25 Solution using Java [can be coded in any programming language]

Like | Share | Subscribe to codedecks
Happy Learning !!!

160 intersection of two linked lists,intersection of two linked lists 160,intersection of two linked lists,intersection of two linked lists leetcode,intersection of two linked lists javascript,intersection of two linked lists leetcode javascript,intersection of two linked lists solution,intersection point of two linked lists,leetcode 160, codedecks, gourav rusiya, linked lists merge

#intersectionoftwolinkedlists #leetcode160 #codedecks #leetcodesolutions #leetcode #linkedlists #codinginterview #interview #amazoncoding #interview #intersectionoflinkedlists

DISCLAIMER: These above-mentioned resources have affiliate links, which means if you buy one of the products from my links, I might receive a small commission without having an extra cost to you. This helps support the channel and allows us to continue to add more tutorials. Thank you for all your support !!!
Рекомендации по теме
Комментарии
Автор

Hello friends, I have covered one of the frequently asked coding interview problem finding the intersection point of two linked lists Leetcode 160.

I have divided this tutorial into separate sections for better view.

Please let us know in comments section if you like both approaches or you have a better solution. Thanks and happy learning !!!

codedecks
Автор

Could you explain for example 1 in the problem, why we don't stop at 1 but at 8?

dafezhao
join shbcf.ru