All Posts

Reachable Nodes In Subdivided Graph Problem

LeetCode 882. You are given an undirected graph (the “original...

Range Sum Of BST Problem

LeetCode 938. Given the root node of a binary search...

Race Car Problem

LeetCode 818. Your car starts at position 0 and speed...

Push Dominoes Problem

LeetCode 838. There are n dominoes in a line, and...

Projection Area Of 3D Shapes Problem

LeetCode 883. You are given an n x n grid...

Profitable Schemes Problem

LeetCode 879. There is a group of n members, and...


Prison Cells After N Days Problem

LeetCode 957. There are 8 prison cells in a row...

Prime Palindrome Problem

LeetCode 866. Given an integer n, return the smallest prime...

Powerful Integers Problem

LeetCode 970. Given three integers x, y, and bound, return...

Positions Of Large Groups Problem

LeetCode 830. In a string sof lowercase letters, these letters...

Peak Index In A Mountain Array Problem

LeetCode 852. Let’s call an array arr a mountainif the...

Partition Array Into Disjoint Intervals Problem

LeetCode 915. Given an integer array nums, partition it into...

Pancake Sorting Problem

LeetCode 969. Given an array of integers arr, sort the...


Orderly Queue Problem

LeetCode 899. You are given a string s and an...

Online Stock Span Problem

LeetCode 901. Design an algorithm that collects daily price quotes...