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
Difficulty: medium
tag: JavaScript
tag: Algorithm
10. first bad version
JavaScript
Algorithm
medium
5416 accepted
58. get DOM tree height
JavaScript
Algorithm
DOM
medium
5050 accepted
113. Virtual DOM I
JavaScript
Algorithm
DOM
medium
3500 accepted
13. Implement a Queue by using Stack
JavaScript
Algorithm
medium
3020 accepted
104. Traverse DOM level by level
JavaScript
Algorithm
DOM
medium
2859 accepted
68. get DOM tags
JavaScript
Algorithm
DOM
medium
2801 accepted
168. move zeros
JavaScript
Algorithm
medium
2434 accepted
110. serialize and deserialize binary tree
JavaScript
Algorithm
medium
2312 accepted
63. create `_.cloneDeep()`
JavaScript
Algorithm
Lodash
medium
2203 accepted
103. implement Math.sqrt()
JavaScript
Algorithm
medium
1820 accepted
86. Generate Fibonacci Number
JavaScript
Algorithm
medium
1369 accepted
66. remove duplicates from an array
JavaScript
Algorithm
medium
1298 accepted
152. Find Top k Elements
JavaScript
Algorithm
medium
1193 accepted
24. create a Priority Queue in JavaScript
JavaScript
Algorithm
medium
1156 accepted
55. highlight keywords in HTML string
JavaScript
Algorithm
medium
1093 accepted
43. implement Quick Sort
JavaScript
Algorithm
medium
1047 accepted
41. implement Merge Sort
JavaScript
Algorithm
medium
973 accepted
82. find available meeting slots
JavaScript
Algorithm
medium
911 accepted
166. validate number string
JavaScript
Algorithm
string
medium
827 accepted
45. find the K-th largest element in an unsorted array
JavaScript
Algorithm
medium
779 accepted
136. find median of two sorted array
JavaScript
Algorithm
medium
779 accepted
111. Count palindromic substrings
JavaScript
Algorithm
string
medium
696 accepted
108. Implement a Stack by using Queue
JavaScript
Algorithm
medium
668 accepted
112. remove duplicate characters in a string
JavaScript
Algorithm
string
medium
589 accepted
75. implement BigInt subtraction
JavaScript
Algorithm
medium
426 accepted
169. LRU - Chrome storage automatic eviction
JavaScript
Algorithm
medium
356 accepted
124. calculate arithmetic expression
JavaScript
Algorithm
medium
229 accepted
126. BigDecimal addition
JavaScript
Algorithm
medium
76 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