Solve problems with JavaScript, daily

Practicing is boring, but will come the feeling

Latest posts with tag "array"

LeetCode: Concatenation of Array

Aug 28, 2021

.concat() or spread operator

LeetCode: Check If String Is a Prefix of Array

Aug 27, 2021

Accumulated concatenation and check

LeetCode: Find Greatest Common Divisor of Array

Aug 22, 2021

Straight forward: min, max then gcd

LeetCode: Search Insert Position

Aug 11, 2021

Understand why returns "low/left"

LeetCode: Find Pivot Index

Aug 9, 2021

2 prefix sums

LeetCode: Height Checker

Aug 3, 2021

Clone and sort

LeetCode: Third Maximum Number

Aug 3, 2021

Sort unique numbers

LeetCode: Find All Numbers Disappeared in an Array

Aug 3, 2021

Hash table to check existing

LeetCode: Sort Array By Parity

Jul 27, 2021

Filter and concat

LeetCode: Replace Elements with Greatest Element on Right Side

Jul 25, 2021

Backward iteration, create an array of right max

LeetCode: Valid Mountain Array

Jul 25, 2021

Flagging

LeetCode: Check If N and Its Double Exist

Jul 23, 2021

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