Problems
Posts
Contact
Login
JavaScript Algorithms and Data Structures
A Journey into Algorithm Design
All tags
Relative Sort Array
Given two arrays arr1 and arr2, the elements of arr2 are distinct, and all elements in arr2 are also in arr1.
Split Array Into Consecutive Subsequences
Given an array nums sorted in ascending order, return true if and only if you can split it into 1 or more subsequences such that each subsequence consists of consecutive integers and has length at least 3.
Missing Number
Given an array containing n distinct numbers taken from 0, 1, 2, .
Explore
→
2d-array
array
basic
binary-search
common
core
dp
dynamic-programming
easy
frequency-counter
greedy
hackerrank
hard
interviewbit
lattice
leetcode
linear-search
medium
recursion
solution
sort
string
tree
unsolved