Solve problems with JavaScript
Practicing is boring, but will come the feelingLatest posts
LeetCode: Find All Numbers Disappeared in an Array
Hash table to check existing
LeetCode: Sort Array By Parity
Filter and concat
LeetCode: Replace Elements with Greatest Element on Right Side
Backward iteration, create an array of right max
LeetCode: Valid Mountain Array
Flagging
LeetCode: Check If N and Its Double Exist
Compare with the iterated elements
LeetCode: Palindrome Number
Split, reverse, join
LeetCode: Shuffle an Array
Fisher–Yates shuffle
LeetCode: Lowest Common Ancestor of a Binary Search Tree
Recursive approach
LeetCode: Find Peak Element
Divide and conquer
CSSBattle 1.9: Tesseract
Stack, rotate
CSSBattle 1.7: Leafy Trail
Center, translate
Popular tags
leetcode
array
string
recursion
hash table
math
dynamic programming
codility
hackerrank
greedy
tree
css
cssbattle
linked list
adventofcode
dfs
sorting
two pointers
codewars
stack
matrix
binary search
binary tree
bfs
bit manipulation
backtracking
graph
sliding window
neetcode
heap
prefix sum
projecteuler
queue
binary search tree
career
cli
dev env
hash map
hashmap
interview
interviewbit
topological sort
trie
union find
yarn