top of page


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
131 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
409 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
315 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
43 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
88 views
1 comment


112. Path Sum - LeetCode Fastest Solution
Given the root node of a binary tree and an integer targetSum, return true if the tree has a path from root-to-leaf such that the sum of all
Code Recipe
Jan 84 min read
30 views
1 comment
bottom of page