Home
YUHA👩🏻‍💻
Cancel

[Easy] Intersection of Two Linked Lists

‘Intersection of Two Linked Lists’ in LeetCode (Easy) 📌 Problem https://leetcode.com/problems/intersection-of-two-linked-lists/ 📌 Answer /** * Definition for singly-linked list. * public cla...

[Easy] Remove Linked List Elements

‘Remove Linked List Elements’ in LeetCode (Easy) 📌 Problem https://leetcode.com/problems/remove-linked-list-elements/ 📌 Answer /** * Definition for singly-linked list. * public class ListNod...

[Easy] Reverse Linked List

‘Reverse Linked List’ in LeetCode (Easy) 📌 Problem https://leetcode.com/problems/reverse-linked-list/ 📌 Answer /** * Definition for singly-linked list. * public class ListNode { * int...

[Easy] Linked List Cycle

‘Linked List Cycle’ in LeetCode (Easy) 📌 Problem https://leetcode.com/problems/linked-list-cycle/ 📌 Answer /** * Definition for singly-linked list. * class ListNode { * int val; * L...

[Data Sturcture] LinkedList (vs ArrayList)

LinkedList Method List Often using [*First] methods addFirst peekFirst pollFirst removeFirst // if you want to make the reverse order list, use addFi...