Skip to main content

Leetcode

2026


The Number of Good Subsets

·4 mins
Link Problem #You are given an integer array nums. We call a subset of nums good if its product can be represented as a product of one or more …

Merge Two Binary Tree

·2 mins
Link Merge Two Binary Trees Problem #You are given two binary trees root1 and root2. Imagine that when you put one of them to cover the other, some …

Stone Game

·2 mins
Link: Stone Game Problem #Alice and Bob play a game with piles of stones. There are an even number of piles arranged in a row, and each pile has a …

Split a String in Balanced Strings

·2 mins
Problem Link: Split a String in Balanced Strings Problem #Balanced strings are those that have an equal quantity of ‘L’ and …

Stone Game II

··2 mins
Stone Game II #Link: Stone Game II Problem #Alice and Bob continue their games with piles of stones. There are a number of piles arranged in a row, …