Solve problems with JavaScript, daily

Practicing is boring, but will come the feeling

Latest posts with tag "leetcode"

LeetCode: Lowest Common Ancestor of a Binary Search Tree

Jul 19, 2021

Recursive approach

LeetCode: Find Peak Element

Jul 14, 2021

Divide and conquer

LeetCode: Isomorphic Strings

Jul 12, 2021

Use 2 hash tables

LeetCode: Find Median from Data Stream

Jul 11, 2021

Insert and keep the array sorted

LeetCode: Longest Increasing Subsequence

Jul 9, 2021

Dynamic programming, top-down approach

LeetCode: Maximum Length of Repeated Subarray

Jul 8, 2021

Memoized recursion, somewhat similar to "Longest common subsequence"

LeetCode: Reduce Array Size to The Half

Jul 7, 2021

Hash table, sort by occurences then greedily remove

LeetCode: Reshape the Matrix

Jul 5, 2021

Flat, reverse, and pop

LeetCode: Count Vowels Permutation

Jul 4, 2021

Memoized recursion

LeetCode: Find K Closest Elements

Jul 3, 2021

Sort with custom comparator

LeetCode: Max Consecutive Ones III

Jun 29, 2021

Find the longest contiguos subsequences with K zeros at most

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