searching
Easy
30 minutes
Monotonic Arrays
A monotonic array is an array whose elements, from left to right, are entirely non-increasing, or entirely non-decreasing. Return true if the given ar...
Easy
30 minutes
Three Number Sum
Given an array of integers, find three integers in the array that sum to a specific target number.
Easy
30 minutes
Binary Search
Given an array of sorted integers in ascending order, and a target integer, write a function to search target in nums array. If target exists, return ...
Easy
30 minutes
String Compression
Given a string of alphabets (from a to z), Print the count of the character appearing in the string right next to it. This is also called Run Length E...
Medium
35 minutes
BST Construction
Construct a Binary Search Tree and implement that implements insert, search, traverse and delete methods.