BFE
.dev
EN
Practice
Explore
EN
JavaScript Coding Questions
As a Front-End developer, JavaScript is the core skill of everything
Sort
Difficulty
Solved status
Company
Sort: most accepted
tag: Algorithm
tag: JavaScript
167. Intersection of unsorted arrays
JavaScript
Algorithm
easy
5334 accepted
10. first bad version
JavaScript
Algorithm
medium
4961 accepted
58. get DOM tree height
JavaScript
Algorithm
DOM
medium
4883 accepted
162. find the single integer
JavaScript
Algorithm
easy
4502 accepted
25. Reorder array with new indexes
JavaScript
Algorithm
easy
4066 accepted
113. Virtual DOM I
JavaScript
Algorithm
DOM
medium
3306 accepted
13. Implement a Queue by using Stack
JavaScript
Algorithm
medium
2823 accepted
104. Traverse DOM level by level
JavaScript
Algorithm
DOM
medium
2782 accepted
68. get DOM tags
JavaScript
Algorithm
DOM
medium
2731 accepted
91. invert a binary tree
JavaScript
Algorithm
easy
2618 accepted
168. move zeros
JavaScript
Algorithm
medium
2352 accepted
110. serialize and deserialize binary tree
JavaScript
Algorithm
medium
2231 accepted
63. create `_.cloneDeep()`
JavaScript
Algorithm
Lodash
medium
2045 accepted
47. reverse a linked list
JavaScript
Algorithm
easy
2002 accepted
163. integer to roman numerals
JavaScript
Algorithm
easy
1851 accepted
40. implement Bubble Sort
JavaScript
Algorithm
easy
1793 accepted
103. implement Math.sqrt()
JavaScript
Algorithm
medium
1660 accepted
107. Find the largest difference
JavaScript
Algorithm
easy
1619 accepted
81. merge sorted arrays
JavaScript
Algorithm
easy
1572 accepted
138. Intersection of two sorted arrays
JavaScript
Algorithm
easy
1477 accepted
106. Find two numbers that sum up to 0
JavaScript
Algorithm
easy
1446 accepted
120. create `isPrime()`
JavaScript
Algorithm
easy
1438 accepted
102. validate string of parentheses
JavaScript
Algorithm
string
easy
1418 accepted
48. search first index with Binary Search(possible duplicate array)
JavaScript
Algorithm
easy
1357 accepted
87. longest substring with unique characters
JavaScript
Algorithm
easy
1340 accepted
86. Generate Fibonacci Number
JavaScript
Algorithm
medium
1313 accepted
66. remove duplicates from an array
JavaScript
Algorithm
medium
1246 accepted
109. implement `Math.pow()`
JavaScript
Algorithm
easy
1192 accepted
152. Find Top k Elements
JavaScript
Algorithm
medium
1167 accepted
49. search last index with Binary Search(possible duplicate array)
JavaScript
Algorithm
easy
1123 accepted
24. create a Priority Queue in JavaScript
JavaScript
Algorithm
medium
1105 accepted
55. highlight keywords in HTML string
JavaScript
Algorithm
medium
1055 accepted
42. implement Insertion Sort
JavaScript
Algorithm
easy
1044 accepted
100. detect circle in linked list
JavaScript
Algorithm
easy
1037 accepted
43. implement Quick Sort
JavaScript
Algorithm
medium
996 accepted
44. implement Selection Sort
JavaScript
Algorithm
easy
908 accepted
41. implement Merge Sort
JavaScript
Algorithm
medium
902 accepted
50. search element right before target with Binary Search(possible duplicate array)
JavaScript
Algorithm
easy
896 accepted
82. find available meeting slots
JavaScript
Algorithm
medium
869 accepted
166. validate number string
JavaScript
Algorithm
string
medium
814 accepted
51. search element right after target with Binary Search(possible duplicate array)
JavaScript
Algorithm
easy
802 accepted
136. find median of two sorted array
JavaScript
Algorithm
medium
755 accepted
45. find the K-th largest element in an unsorted array
JavaScript
Algorithm
medium
724 accepted
62. implement BigInt addition
JavaScript
Algorithm
easy
723 accepted
111. Count palindromic substrings
JavaScript
Algorithm
string
medium
682 accepted
108. Implement a Stack by using Queue
JavaScript
Algorithm
medium
650 accepted
112. remove duplicate characters in a string
JavaScript
Algorithm
string
medium
573 accepted
137. binary tree vertical traversal
JavaScript
Algorithm
hard?
493 accepted
75. implement BigInt subtraction
JavaScript
Algorithm
medium
415 accepted
169. LRU - Chrome storage automatic eviction
JavaScript
Algorithm
medium
353 accepted
124. calculate arithmetic expression
JavaScript
Algorithm
medium
226 accepted
126. BigDecimal addition
JavaScript
Algorithm
medium
75 accepted
128. BigDecimal multiplication
JavaScript
Algorithm
medium
39 accepted
129. BigDecimal Division
JavaScript
Algorithm
medium
39 accepted
127. BigDecimal subtraction
JavaScript
Algorithm
medium
34 accepted