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
Difficulty: easy
tag: JavaScript
1. implement curry()
JavaScript
easy
3. implement Array.prototype.flat()
JavaScript
easy
6. implement basic debounce()
JavaScript
Lodash
easy
11. what is Composition? create a pipe()
JavaScript
easy
15. implement a simple DOM wrapper to support method chaining like jQuery
JavaScript
easy
17. Create a simple store for DOM element
JavaScript
easy
18. Improve a function
JavaScript
easy
19. find corresponding node in two identical DOM tree
JavaScript
easy
23. create a sum()
JavaScript
easy
25. Reorder array with new indexes
JavaScript
Algorithm
easy
28. implement clearAllTimeout()
JavaScript
easy
31. implement async helper - `race()`
JavaScript
easy
35. implement `Promise.race()`
JavaScript
easy
37. implement Binary Search (unique)
JavaScript
easy
38. implement `jest.spyOn()`
JavaScript
easy
39. implement range()
JavaScript
easy
40. implement Bubble Sort
JavaScript
Algorithm
easy
42. implement Insertion Sort
JavaScript
Algorithm
easy
44. implement Selection Sort
JavaScript
Algorithm
easy
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
54. flatten Thunk
JavaScript
easy
60. create your own `new` operator
JavaScript
easy
62. implement BigInt addition
JavaScript
Algorithm
easy
72. implement Observable interval()
JavaScript
easy
73. implement Observable fromEvent()
JavaScript
easy
74. implement Observable Transformation Operators
JavaScript
easy
81. merge sorted arrays
JavaScript
Algorithm
easy
87. longest substring with unique characters
JavaScript
Algorithm
easy
89. Next Right Sibling
JavaScript
DOM
easy
91. invert a binary tree
JavaScript
Algorithm
easy
93. Generate Fibonacci Number with recursion
JavaScript
easy
94. implement your own `Object.create`
JavaScript
easy
96. count "1" in binary form
JavaScript
easy
100. detect circle in linked list
JavaScript
Algorithm
easy
102. validate string of parentheses
JavaScript
Algorithm
string
easy
105. find the first duplicate character in a string
JavaScript
string
easy
106. Find two numbers that sum up to 0
JavaScript
Algorithm
easy
107. Find the largest difference
JavaScript
Algorithm
easy
109. implement `Math.pow()`
JavaScript
Algorithm
easy
116. implement Object.is()
JavaScript
easy
118. Virtual DOM II - createElement
JavaScript
easy
120. create `isPrime()`
JavaScript
Algorithm
easy
121. A number sequence
JavaScript
easy
133. roman numerals to integer
JavaScript
easy
138. Intersection of two sorted arrays
JavaScript
Algorithm
easy
140. Virtual DOM III - Functional Component
JavaScript
easy
141. implement btoa()
JavaScript
easy
142. lit-html 1 - tagged templates
JavaScript
lit-html
easy
145. most frequently occurring character
JavaScript
easy
147. Pick up stones
JavaScript
easy
148. create a counter object
JavaScript
easy
154. Two-way binding
JavaScript
DOM
easy
155. create a count function
JavaScript
easy
157. semver compare
JavaScript
easy
159. implement promisify()
JavaScript
easy
162. find the single integer
JavaScript
Algorithm
easy
163. integer to roman numerals
JavaScript
Algorithm
easy
167. Intersection of unsorted arrays
JavaScript
Algorithm
easy