All Posts

Tallest Billboard Problem

LeetCode 956. You are installing a billboard and want it...

Surface Area Of 3D Shapes Problem

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

Super Egg Drop Problem

LeetCode 887. You are given k identical eggs and you...

Sum Of Subsequence Widths Problem

LeetCode 891. The width of a sequence is the difference...

Sum Of Subarray Minimums Problem

LeetCode 907. Given an array of integers arr, find the...

Sum Of Even Numbers After Queries Problem

LeetCode 985. You are given an integer array nums and...


Sum Of Distances In Tree Problem

LeetCode 834. There is an undirected connected tree with n...

Subdomain Visit Count Problem

LeetCode 811. A website domain “discuss.leetcode.com” consists of various subdomains....

Subarrays With K Different Integers Problem

LeetCode 992. Given an integer array nums and an integer...

String Without Aaa Or Bbb Problem

LeetCode 984. Given two integers a and b, return any...

Stone Game Problem

LeetCode 877. Alice and Bob play a game with piles...

Stamping The Sequence Problem

LeetCode 936. You are given two strings stamp and target....

Squares Of A Sorted Array Problem

LeetCode 977. Given an integer array nums sorted in non-decreasing...

Split Array With Same Average Problem

LeetCode 805. You are given an integer array nums.


Split Array Into Fibonacci Sequence Problem

LeetCode 842. You are given a string of digits num,...

Soup Servings Problem

LeetCode 808. There are two types of soup, type A...