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
tag: Algorithm
10. first bad version
JavaScript
Algorithm
medium
13. Implement a Queue by using Stack
JavaScript
Algorithm
medium
24. create a Priority Queue in JavaScript
JavaScript
Algorithm
medium
25. Reorder array with new indexes
JavaScript
Algorithm
easy
40. implement Bubble Sort
JavaScript
Algorithm
easy
41. implement Merge Sort
JavaScript
Algorithm
medium
42. implement Insertion Sort
JavaScript
Algorithm
easy
43. implement Quick Sort
JavaScript
Algorithm
medium
44. implement Selection Sort
JavaScript
Algorithm
easy
45. find the K-th largest element in an unsorted array
JavaScript
Algorithm
medium
47. reverse a linked list
JavaScript
Algorithm
easy
48. search first index with Binary Search(possible duplicate array)
JavaScript
Algorithm
easy
49. search last index with Binary Search(possible duplicate array)
JavaScript
Algorithm
easy
50. search element right before target with Binary Search(possible duplicate array)
JavaScript
Algorithm
easy
51. search element right after target with Binary Search(possible duplicate array)
JavaScript
Algorithm
easy
55. highlight keywords in HTML string
JavaScript
Algorithm
medium
58. get DOM tree height
JavaScript
Algorithm
DOM
medium
62. implement BigInt addition
JavaScript
Algorithm
easy
63. create `_.cloneDeep()`
JavaScript
Algorithm
Lodash
medium
66. remove duplicates from an array
JavaScript
Algorithm
medium
68. get DOM tags
JavaScript
Algorithm
DOM
medium
75. implement BigInt subtraction
JavaScript
Algorithm
medium
81. merge sorted arrays
JavaScript
Algorithm
easy
82. find available meeting slots
JavaScript
Algorithm
medium
86. Generate Fibonacci Number
JavaScript
Algorithm
medium
87. longest substring with unique characters
JavaScript
Algorithm
easy
91. invert a binary tree
JavaScript
Algorithm
easy
100. detect circle in linked list
JavaScript
Algorithm
easy
102. validate string of parentheses
JavaScript
Algorithm
string
easy
103. implement Math.sqrt()
JavaScript
Algorithm
medium
104. Traverse DOM level by level
JavaScript
Algorithm
DOM
medium
106. Find two numbers that sum up to 0
JavaScript
Algorithm
easy
107. Find the largest difference
JavaScript
Algorithm
easy
108. Implement a Stack by using Queue
JavaScript
Algorithm
medium
109. implement `Math.pow()`
JavaScript
Algorithm
easy
110. serialize and deserialize binary tree
JavaScript
Algorithm
medium
111. Count palindromic substrings
JavaScript
Algorithm
string
medium
112. remove duplicate characters in a string
JavaScript
Algorithm
string
medium
113. Virtual DOM I
JavaScript
Algorithm
DOM
medium
120. create `isPrime()`
JavaScript
Algorithm
easy
124. calculate arithmetic expression
JavaScript
Algorithm
medium
126. BigDecimal addition
JavaScript
Algorithm
medium
127. BigDecimal subtraction
JavaScript
Algorithm
medium
128. BigDecimal multiplication
JavaScript
Algorithm
medium
129. BigDecimal Division
JavaScript
Algorithm
medium
136. find median of two sorted array
JavaScript
Algorithm
medium
137. binary tree vertical traversal
JavaScript
Algorithm
hard?
138. Intersection of two sorted arrays
JavaScript
Algorithm
easy
152. Find Top k Elements
JavaScript
Algorithm
medium
162. find the single integer
JavaScript
Algorithm
easy
163. integer to roman numerals
JavaScript
Algorithm
easy
165. remove characters
Algorithm
medium
166. validate number string
JavaScript
Algorithm
string
medium
167. Intersection of unsorted arrays
JavaScript
Algorithm
easy
168. move zeros
JavaScript
Algorithm
medium
169. LRU - Chrome storage automatic eviction
JavaScript
Algorithm
medium