Solve problems with JavaScript, daily

Practicing is boring, but will come the feeling

Latest posts with tag "recursion"

LeetCode: Path Sum

Sep 10, 2022

Keep subtracting

LeetCode: Path Sum III

Sep 9, 2022

If timebox exceeded, read other solutions

LeetCode: Kth Smallest Element in a BST

Sep 6, 2022

Inorder traversal

LeetCode: Diameter of Binary Tree

Sep 5, 2022

Sum of max height of 2 subtrees

LeetCode: Maximum Depth of Binary Tree

Sep 3, 2022

Explanation is hard

LeetCode: Balanced Binary Tree

Sep 3, 2022

Modified version of "Maximum Depth of Binary Tree"

LeetCode: Invert Binary Tree

Sep 2, 2022

A Broken Interview: The Origin

LeetCode: Where Will the Ball Fall

Aug 25, 2022

If I remember correctly, Alex K. also loves recursion

LeetCode: Spiral Matrix

Aug 25, 2022

Writing recursive function is fun

LeetCode: Number of Islands

Aug 23, 2022

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

LeetCode: Is Subsequence

Aug 12, 2022

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

LeetCode: Combination Sum

Aug 8, 2022

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