Solve problems with JavaScript

Practicing is boring, but will come the feeling

Latest posts with tag "array"

LeetCode: Concatenation of Array

.concat() or spread operator

LeetCode: Check If String Is a Prefix of Array

Accumulated concatenation and check

LeetCode: Find Greatest Common Divisor of Array

Straight forward: min, max then gcd

LeetCode: Search Insert Position

Understand why returns "low/left"

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

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