Binary Search: Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums.
read moreBinary Search: Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums.
read moreMinimum Depth of Binary Tree: Given a binary tree, find its minimum depth.
read moreAverage of Levels in Binary Tree: Given the root of a binary tree, return the average value of the nodes on each level in the form of an array.
read moreValid Parentheses: Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
read moreSingle Number: Given a non-empty array of integers nums, every element appears twice except for one.
read moreRange Query Sum Immutable: Given an integer array nums, handle multiple queries of the following type:
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.