top of page


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

Code Recipe
Jan 184 min read
65 views
1 comment


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

Code Recipe
Jan 164 min read
145 views
1 comment


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

Code Recipe
Jan 144 min read
561 views
1 comment


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

Ashwin Shirva
Jan 136 min read
383 views
1 comment


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

Code Recipe
Jan 104 min read
49 views
1 comment


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

Code Recipe
Jan 94 min read
109 views
1 comment
bottom of page