All Posts

Bus Routes Problem

LeetCode 815. You are given an array routes representing bus...

Buddy Strings Problem

LeetCode 859. Given two strings s and goal, return true...

Broken Calculator Problem

LeetCode 991. There is a broken calculator that has the...

Bricks Falling When Hit Problem

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

Boats To Save People Problem

LeetCode 881. You are given an array people where people[i]...

Bitwise ORs Of Subarrays Problem

LeetCode 898. We have an array arr of non-negative integers....

Binary Trees With Factors Problem

LeetCode 823. Given an array of unique integers, arr, where...

Binary Tree Pruning Problem

LeetCode 814. Given the root of a binary tree, return...


Binary Tree Cameras Problem

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

Binary Subarrays With Sum Problem

LeetCode 930. Given a binary array nums and an integer...

Binary Gap Problem

LeetCode 868. Given a positive integer n, find and return...

Beautiful Array Problem

LeetCode 932. Given the integer n, return any beautiful array...

Bag Of Tokens Problem

LeetCode 948. You have an initial power of power, an...

Backspace String Compare Problem

LeetCode 844. Given two strings s and t, return true...

Available Captures For Rook Problem

LeetCode 999. On an 8 x 8 chessboard, there is...

Array Of Doubled Pairs Problem

LeetCode 954. Given an integer array of even length arr,...