LeetCode 37xx
LeetCode problems 3700–3799
LeetCode 37xx
| # | Problem | Difficulty | Time | Notes |
|---|---|---|---|---|
| 3700 | Number of ZigZag Arrays II | 🔴 Hard | 46s | The problem asks us to count the number of arrays of length n where… |
| 3702 | Longest Subsequence With Non-Zero Bitwise XOR | 🟡 Medium | 1m 18s | We are given an integer array nums, and we must determine the maxim… |
| 3703 | Remove K-Balanced Substrings | 🟡 Medium | 1m 24s | We are given a string s consisting only of '(' and ')', along with … |
| 3704 | Count No-Zero Pairs That Sum to N | 🔴 Hard | 41s | The problem asks us to count all pairs of positive integers (a, b) … |
| 3705 | Find Golden Hour Customers | 🟡 Medium | 1m 14s | This problem asks us to identify "golden hour customers" from a res… |
| 3706 | Maximum Distance Between Unequal Words in Array II | 🟡 Medium | 1m 30s | We are given an array of strings called words. Our goal is to find … |
| 3707 | Equal Score Substrings | 🟢 Easy | 53s | The problem asks us to determine if a given string s can be split i… |
| 3708 | Longest Fibonacci Subarray | 🟡 Medium | 1m 22s | The problem gives us an array nums consisting of positive integers … |
| 3709 | Design Exam Scores Tracker | 🟡 Medium | 49s | This problem asks us to design a system that tracks Alice's exam sc… |
| 3710 | Maximum Partition Factor | 🔴 Hard | 45s | The problem asks us to split a set of n points in a 2D Cartesian pl… |
| 3711 | Maximum Transactions Without Negative Balance | 🟡 Medium | 1m 1s | Here is a complete, detailed technical solution guide for LeetCode … |
| 3712 | Sum of Elements With Frequency Divisible by K | 🟢 Easy | 1m 6s | The problem asks us to compute the sum of all elements in the array… |
| 3714 | Longest Balanced Substring II | 🟡 Medium | 1m 8s | The problem gives us a string s that contains only three possible c… |
| 3715 | Sum of Perfect Square Ancestors | 🔴 Hard | 45s | This problem asks us to compute a sum across all non-root nodes in … |
| 3716 | Find Churn Risk Customers | 🟡 Medium | 1m 15s | This problem asks us to identify subscribers who appear likely to c… |
| 3717 | Minimum Operations to Make the Array Beautiful | 🟡 Medium | 54s | Here is the complete, detailed technical solution guide for LeetCod… |
| 3718 | Smallest Missing Multiple of K | 🟢 Easy | 44s | The problem asks us to find the smallest positive multiple of k tha… |
| 3720 | Lexicographically Smallest Permutation Greater Than Target | 🟡 Medium | 36s | Before I write the full guide, I want to verify one important detai… |
| 3721 | Longest Balanced Subarray II | 🔴 Hard | 50s | The problem requires us to find the length of the longest subarray … |
| 3722 | Lexicographically Smallest String After Reverse | 🟡 Medium | 40s | The problem asks us to find the lexicographically smallest string a… |
| 3723 | Maximize Sum of Squares of Digits | 🟡 Medium | 58s | The problem asks us to construct a positive integer n of exactly nu… |
| 3724 | Minimum Operations to Transform Array | 🟡 Medium | 46s | This problem asks us to transform an array nums1 of length n into a… |
| 3725 | Count Ways to Choose Coprime Integers from Rows | 🔴 Hard | 42s | The problem asks us to determine how many ways we can choose exactl… |
| 3726 | Remove Zeros in Decimal Representation | 🟢 Easy | 1m 5s | The problem gives us a positive integer n and asks us to remove eve… |
| 3727 | Maximum Alternating Sum of Squares | 🟡 Medium | 1m 27s | We are given an integer array nums, and we are allowed to rearrange… |
| 3728 | Stable Subarrays With Equal Boundary and Interior Sum | 🟡 Medium | 44s | The problem asks us to count stable subarrays in an integer array c… |
| 3729 | Count Distinct Subarrays Divisible by K in Sorted Array | 🔴 Hard | 47s | The problem asks us to find the number of distinct subarrays in a s… |
| 3730 | Maximum Calories Burnt from Jumps | 🟡 Medium | 1m 7s | The problem asks us to determine the maximum total calories that ca… |
| 3731 | Find Missing Elements | 🟢 Easy | 1m 5s | This problem asks us to reconstruct a missing sequence of integers … |
| 3733 | Minimum Time to Complete All Deliveries | 🟡 Medium | 35s | This is a long, structured reference document. To make sure I targe… |
| 3734 | Lexicographically Smallest Palindromic Permutation Greater Than Target | 🔴 Hard | 3m 48s | We are given two strings, s and target, of the same length n. The g… |
| 3736 | Minimum Moves to Equal Array Elements III | 🟢 Easy | 1m 1s | The problem asks us to determine the minimum number of moves requir… |
| 3737 | Count Subarrays With Majority Element I | 🟡 Medium | 1m 6s | Here is a comprehensive, detailed reference guide for LeetCode 3737… |
| 3738 | Longest Non-Decreasing Subarray After Replacing at Most One Element | 🟡 Medium | 4m 7s | assert Solution(). |
| 3739 | Count Subarrays With Majority Element II | 🔴 Hard | 57s | Here’s a complete, detailed technical solution guide for LeetCode 3… |
| 3741 | Minimum Distance Between Three Equal Elements II | 🟡 Medium | 2m 40s | The problem asks us to find three distinct indices (i, j, k) such t… |
| 3742 | Maximum Path Score in a Grid | 🟡 Medium | 48s | This problem presents a grid of size m x n where each cell contains… |
| 3743 | Maximize Cyclic Partition Score | 🔴 Hard | 1m 34s | We are given a cyclic array nums, which means the array is consider… |
| 3744 | Find Kth Character in Expanded String | 🟡 Medium | 1m 21s | The problem gives us a string s containing one or more lowercase wo… |
| 3745 | Maximize Expression of Three Elements | 🟢 Easy | 1m 10s | The problem gives us an integer array nums and asks us to choose th… |
| 3746 | Minimum String Length After Balanced Removals | 🟡 Medium | 36s | Before I write the full guide, I want to verify one detail because … |
| 3748 | Count Stable Subarrays | 🔴 Hard | 52s | The problem asks us to count "stable" subarrays within a given arra… |
| 3749 | Evaluate Valid Expressions | 🔴 Hard | 44s | The problem presents a simplified version of evaluating nested math… |
| 3750 | Minimum Number of Flips to Reverse Binary String | 🟢 Easy | 5m 55s | The problem gives us a positive integer n, and asks us to work with… |
| 3751 | Total Waviness of Numbers in Range I | 🟡 Medium | 1m 20s | This problem asks us to compute the total waviness of every integer… |
| 3754 | Concatenate Non-Zero Digits and Multiply by Sum I | 🟢 Easy | 1m 2s | The problem asks us to process an integer n and construct a new num… |
| 3755 | Find Maximum Balanced XOR Subarray Length | 🟡 Medium | 1m 25s | This problem asks us to find the longest contiguous subarray that s… |
| 3756 | Concatenate Non-Zero Digits and Multiply by Sum II | 🟡 Medium | 21s | Please provide the official LeetCode problem statement or confirm t… |
| 3757 | Number of Effective Subsequences | 🔴 Hard | 1m 7s | Here’s a complete, detailed technical guide for LeetCode 3757 - Num… |
| 3758 | Convert Number Words to Digits | 🟡 Medium | 56s | The problem asks us to parse a string s that contains lowercase Eng… |
| 3759 | Count Elements With at Least K Greater Values | 🟡 Medium | 1m 15s | The problem asks us to count how many elements in an array have at … |
| 3760 | Maximum Substrings With Distinct Start | 🟡 Medium | 1m 16s | The problem asks us to split a string into as many non-empty substr… |
| 3761 | Minimum Absolute Distance Between Mirror Pairs | 🟡 Medium | 2m 49s | We are given an integer array nums. A pair of indices (i, j) is cal… |
| 3762 | Minimum Operations to Equalize Subarrays | 🔴 Hard | 2m 11s | We are given an array nums and a fixed integer k. A single operatio… |
| 3763 | Maximum Total Sum with Threshold Constraints | 🟡 Medium | 52s | The problem gives you two integer arrays, nums and threshold, each … |
| 3764 | Most Common Course Pairs | 🔴 Hard | 1m 35s | The coursecompletions table records every course completed by every… |
| 3765 | Complete Prime Number | 🟡 Medium | 1m 19s | The problem gives us a positive integer num and asks whether it is … |
| 3766 | Minimum Operations to Make Binary Palindrome | 🟡 Medium | 43s | This problem asks us to find the minimum number of increment or dec… |
| 3767 | Maximize Points After Choosing K Tasks | 🟡 Medium | 1m 3s | The problem gives two integer arrays, technique1 and technique2, ea… |
| 3768 | Minimum Inversion Count in Subarrays of Fixed Length | 🔴 Hard | 1m 36s | We are given an array nums of length n and an integer k. For every … |
| 3769 | Sort Integers by Binary Reflection | 🟢 Easy | 41s | This problem asks us to sort an array of positive integers based on… |
| 3770 | Largest Prime from Consecutive Prime Sum | 🟡 Medium | 1m 26s | The problem gives us an integer n and asks us to find the largest p… |
| 3771 | Total Score of Dungeon Runs | 🟡 Medium | 55s | The problem describes a dungeon with n rooms, where entering room i… |
| 3772 | Maximum Subgraph Score in a Tree | 🔴 Hard | 52s | The problem asks us to compute, for each node in a tree, the maximu… |
| 3773 | Maximum Number of Equal Length Runs | 🟡 Medium | 59s | The problem asks us to analyze a string s consisting of lowercase E… |
| 3774 | Absolute Difference Between Maximum and Minimum K Elements | 🟢 Easy | 3m 7s | The problem asks us to calculate the absolute difference between th… |
| 3775 | Reverse Words With Same Vowel Count | 🟡 Medium | 48s | The problem requires processing a string s consisting of lowercase … |
| 3778 | Minimum Distance Excluding One Maximum Weighted Edge | 🟡 Medium | 1m 56s | We are given a connected, weighted, undirected graph with n nodes n… |
| 3779 | Minimum Number of Operations to Have Distinct Elements | 🟡 Medium | 1m 29s | The problem gives us an integer array nums and defines a very speci… |
| 3780 | Maximum Sum of Three Numbers Divisible by Three | 🟡 Medium | 1m 2s | Here is a comprehensive, detailed solution guide for LeetCode 3780 … |
| 3781 | Maximum Score After Binary Swaps | 🟡 Medium | 33s | Before I write the full guide, I need one clarification: can you co… |
| 3782 | Last Remaining Integer After Alternating Deletion Operations | 🔴 Hard | 29s | Before I write the full guide, I want to confirm one critical detai… |
| 3784 | Minimum Deletion Cost to Make All Characters Equal | 🟡 Medium | 47s | The problem asks us to minimize the total cost of deleting characte… |
| 3786 | Total Sum of Interaction Cost in Tree Groups | 🔴 Hard | 34s | I can do this, but I need the actual problem details for LeetCode 3… |
| 3788 | Maximum Score of a Split | 🟡 Medium | 57s | The problem asks us to maximize a "score" obtained by splitting an … |
| 3789 | Minimum Cost to Acquire Required Items | 🟡 Medium | 1m 8s | This problem asks us to determine the minimum cost required to acqu… |
| 3790 | Smallest All-Ones Multiple | 🟡 Medium | 1m 10s | This problem asks us to find the smallest positive integer composed… |
| 3791 | Number of Balanced Integers in a Range | 🔴 Hard | 55s | Here is the full, detailed technical solution guide for LeetCode 37… |
| 3792 | Sum of Increasing Product Blocks | 🟡 Medium | 1m 6s | The problem defines a sequence of blocks, where each block contains… |
| 3794 | Reverse String Prefix | 🟢 Easy | 1m 7s | This problem gives us a string s and an integer k. Our task is to r… |
| 3795 | Minimum Subarray Length With Distinct Sum At Least K | 🟡 Medium | 7m 19s | This problem asks us to find the shortest contiguous subarray whose… |
| 3799 | Word Squares II | 🟡 Medium | 5m 13s | We are given an array of distinct 4-letter words. Our goal is to co… |