Solve problems with JavaScript

Practicing is boring, but will come the feeling

Latest posts

LeetCode: Find All Numbers Disappeared in an Array

Hash table to check existing

LeetCode: Replace Elements with Greatest Element on Right Side

Backward iteration, create an array of right max

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: Find Peak Element

Divide and conquer

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

HoningJS

Search Posts