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...
Given a 2D matrix of numbers, return a spiral traversal of the matrix in the clockwise direction.
Three Number Sum
Given an array of integers, find three integers in the array that sum to a specific target number.
A countdown timer has hours, minutes, and seconds that count down to 0 when started. In this problem, you are required to create a Countdown component...
Given the root of a binary tree and a node in it, return the in-order successor of that node in the BST. If the given node has no in-order successor i...
Remove Duplicates From a Linked List
Given a sorted linked list, delete all duplicates such that each element appear only once.
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 ...
Guess The Output I
Number of Ways To Make Change
Given a target amount and a set of denominations (coins), find the total number of ways the given target amount can be expressed by using the denomina...
Given two arrays of integers, find the pair of values (one value in each array) with the smallest (non-negative) difference.
A Typewriter Effect is something where a piece of text constructs itself with some milliseconds in delay. You will see the text getting generated from...
Countries List with Debounce
Debouncing is a method of preventing a function from being invoked too often, and instead of waiting a certain amount of time until it was last called...
Depth First Search
Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting s...