All Posts

Fruit Into Baskets Problem

LeetCode 904. You are visiting a farm that has a...

Friends Of Appropriate Ages Problem

LeetCode 825. There are n persons on a social media...

Flipping An Image Problem

LeetCode 832. Given an n x n binary matrix image,...

Flip String To Monotone Increasing Problem

LeetCode 926. A binary string is monotone increasing if it...

Flip Equivalent Binary Trees Problem

LeetCode 951. For a binary tree T, we can define...

Find The Town Judge Problem

LeetCode 997. In a town, there are n people labeled...


Find The Shortest Superstring Problem

LeetCode 943. Given an array of strings words, return the...

Find And Replace Pattern Problem

LeetCode 890. Given a list of strings words and a...

Find And Replace In String Problem

LeetCode 833. You are given a 0-indexed string s that...

Fair Candy Swap Problem

LeetCode 888. Alice and Bob have a different total number...

Expressive Words Problem

LeetCode 809. Sometimes people repeat letters to represent extra feeling....

Exam Room Problem

LeetCode 855. There is an exam room with n seats...

Equal Rational Numbers Problem

LeetCode 972. Given two strings s and t, each of...


Distribute Coins In Binary Tree Problem

LeetCode 979. You are given the root of a binary...