All Posts

Score After Flipping Matrix Problem

LeetCode 861. You are given an m x n binary...

Satisfiability Of Equality Equations Problem

LeetCode 990. You are given an array of strings equations...

Rotting Oranges Problem

LeetCode 994. You are given an m x n grid...

Rle Iterator Problem

LeetCode 900. We can use run-length encoding (i.e., RLE) to...

Reverse Only Letters Problem

LeetCode 917. Given a string s, reverse the string according...

Reveal Cards In Increasing Order Problem

LeetCode 950. You are given an integer array deck. There...

Reordered Power Of 2 Problem

LeetCode 869. You are given an integer n. We reorder...


Reorder Data In Log Files Problem

LeetCode 937. You are given an array of logs. Each...

Rectangle Overlap Problem

LeetCode 836. An axis-aligned rectangle is represented as a list...

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...

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...