160. Intersection of Two Linked Lists

1.問題

  • 返回開始重複的node

2.想法

  • 用map紀錄s出現過的node, 再看看t是否有出現相同的node

3.程式碼

4.Performance

Last updated