top of page
Code Recipe
6 minutes ago4 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
3 views1 comment
Ashwin Shirva
24 hours ago6 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
22 views1 comment
Code Recipe
4 days ago4 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
20 views1 comment
Code Recipe
5 days ago4 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
31 views1 comment
Code Recipe
6 days ago4 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
4 views1 comment
Code Recipe
Jan 64 min read
680. Valid Palindrome II - LeetCode Fastest Solution
Given string s, return true if it is possible to make s a palindrome by removing at-most one character from s. A string is a palindrome if
29 views1 comment
bottom of page