Loading...

Welcome to LeetCode Articles. Here is the only official editorials / solutions you will find.

Feb. 4, 2026

3713. Longest Balanced Substring I

Average Rating: 0 (0 votes)

is balanced. Specifically: We enumerate the left endpoint $i$ of the substring and then enumerate the right...

633 view

June 19, 2026

3737. Count Subarrays With Majority Element I

Average Rating: 0 (0 votes)

meration Intuition We enumerate all possible left endpoints $i$ of subarrays and then extend the right endpo...

391 view

April 15, 2026

3761. Minimum Absolute Distance Between Mirror Pairs

Average Rating: 0 (0 votes)

most recent index. This is because when the right endpoint is fixed later, a closer left endpoint results in...

498 view