top of page
Code Recipe
Jan 184 min read
234. Palindrome Linked List - LeetCode Fastest Solution
Given the head of singly linked list, return true if it is a palindrome, false otherwise. A palindrome is a sequence that reads the same for
20 views1 comment
Code Recipe
Jan 164 min read
142. Linked List Cycle II - LeetCode Fastest Solution
Given the head node of a linked list, return the node where the cycle starts. If cycle does not exist, return null. Do not modify the linked
40 views1 comment
Code Recipe
Jan 144 min read
141. Linked List Cycle - LeetCode Fastest Solution
Given the head node of a singly linked list, determine if the linked list has a cycle in it. A linked list has a cycle if some node in the
153 views1 comment
Code Recipe
Feb 19, 20225 min read
Reverse A Singly Linked List - Everything You Need To Know
Write an algorithm to reverse the given singly linked list. You can use the properties of a stack...
1,379 views1 comment
Code Recipe
Feb 13, 20224 min read
Finding The Middle Element - Singly Linked List
Given a singly linked list, find the middle element in it. If there are even number of nodes in the given linked list then return the
663 views0 comments
Code Recipe
Feb 12, 20228 min read
Singly Linked List - Everything You Need To Know
Linked list is a linear data structure. Each element in a linked list is an individual object. These individual objects are called nodes.
1,570 views4 comments
bottom of page