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
38 views
1 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
99 views
1 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
370 views
1 comment


Ashwin Shirva
Jan 136 min read
215. Kth Largest Element in an Array - LeetCode Fastest Solution
Given an array of integers nums and an integer k, return the kth largest element in the array. Note that you have to return the kth largest
229 views
1 comment


Code Recipe
Jan 104 min read
113. Path Sum II - LeetCode Fastest Solution
Given the root node of the binary tree and an integer targetSum, return all root to leaf paths in this tree such that, sum of these paths is
39 views
1 comment


Code Recipe
Jan 94 min read
242. Valid Anagram - LeetCode Fastest Solution
Given two strings s and t, return true if t is a valid anagram of s. Otherwise return false. An anagram is a word or phrase made by
71 views
1 comment
bottom of page