Palindrome Linked List: Given the head of a singly linked list, return true if it is a palindrome or false otherwise.
read more
Palindrome Linked List: Given the head of a singly linked list, return true if it is a palindrome or false otherwise.
read more
Middle of the Linked List: Given the head of a singly linked list, return the middle node of the linked list.
read more
Reverse Linked List: Given the head of a singly linked list, reverse the list, and return the reversed list.
read more
Best Time To Buy And Sell Stock: You are given an array prices where prices[i] is the price of a given stock on the ith day.
read more
Diameter of Binary Tree: Given the root of a binary tree, return the length of the diameter of the tree.
read more
Path Sum: Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all the values along the path equals targetSum.
read moreDon’t settle for anything less than the crown. Join our newsletter and become the King of Interviews! Click here to join now and get the latest updates.