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 16, 20254 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

Code Recipe
Jan 14, 20254 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

Ashwin Shirva
Jan 13, 20256 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

Code Recipe
Jan 10, 20254 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

Code Recipe
Jan 9, 20254 min read
Â
Â
Â


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 8, 20254 min read
Â
Â
Â
bottom of page
