Solve problems with JavaScript

Practicing is boring, but will come the feeling

Latest posts with tag "recursion"

LeetCode: Path Sum

Keep subtracting

LeetCode: Path Sum III

If timebox exceeded, read other solutions

LeetCode: Diameter of Binary Tree

Sum of max height of 2 subtrees

LeetCode: Balanced Binary Tree

Modified version of "Maximum Depth of Binary Tree"

LeetCode: Invert Binary Tree

A Broken Interview: The Origin

LeetCode: Where Will the Ball Fall

If I remember correctly, Alex K. also loves recursion

LeetCode: Spiral Matrix

Writing recursive function is fun

LeetCode: Number of Islands

To be consistent, first find out how to make it easy

LeetCode: Is Subsequence

The author is not smart enough to come up with the DP solution in the first place

LeetCode: Combination Sum

Recursively try all the possible cases

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