LeetCode 36xx

LeetCode problems 3600–3699

88 items

LeetCode 36xx

# Problem Difficulty Time Notes
3600 Maximize Spanning Tree Stability with Upgrades 🔴 Hard 5m 50s This problem asks us to determine the maximum possible stability of…
3601 Find Drivers with Improved Fuel Efficiency 🟡 Medium 3m 7s This problem asks final stage, preserving accuracy during computati…
3602 Hexadecimal and Hexatrigesimal Conversion 🟢 Easy 3m 37s The numbers that still fit in standard integer types; the algorithm…
3604 Minimum Time to Reach Destination in Directed Graph 🟡 Medium 53s This problem asks us to compute the minimum time required to reach …
3605 Minimum Stability Factor of Array 🔴 Hard 1m 53s We are given an array nums and an integer maxC. A subarray is calle…
3606 Coupon Code Validator 🟢 Easy 51s The problem is asking us to validate a set of coupons based on thre…
3607 Power Grid Maintenance 🟡 Medium 1m 26s The problem gives an undirected graph of c power stations labeled f…
3608 Minimum Time for K Connected Components 🟡 Medium 1m 47s We are given an undirected graph with n vertices and a list of edge…
3609 Minimum Moves to Reach Target in Grid 🔴 Hard 40s The problem asks us to determine the minimum number of moves to rea…
3610 Minimum Number of Primes to Sum to Target 🟡 Medium 1m 25s The problem requires us to determine the minimum number of prime nu…
3611 Find Overbooked Employees 🟡 Medium 1m 24s This problem asks us to identify employees who spend an excessive a…
3612 Process String with Special Operations I 🟡 Medium 2m 2s The problem asks us to simulate the construction of a string called…
3613 Minimize Maximum Component Cost 🟡 Medium 2m 49s Let's dive into a full technical guide for LeetCode 3613 following …
3614 Process String with Special Operations II 🔴 Hard 1m 41s The problem defines a transformation process over a string s that c…
3615 Longest Palindromic Path in Graph 🔴 Hard 1m 52s We are given an undirected graph with n ≤ 14 vertices. Each vertex …
3616 Number of Student Replacements 🟡 Medium 1m 50s The problem models a simple selection process among students arrivi…
3617 Find Students with Study Spiral Pattern 🔴 Hard 1m 7s The task asks us to identify students who exhibit a very specific b…
3618 Split Array by Prime Indices 🟡 Medium 1m 16s The problem gives us an integer array nums and asks us to divide it…
3619 Count Islands With Total Value Divisible by K 🟡 Medium 50s The problem is asking us to count islands in a 2D grid where the su…
3620 Network Recovery Pathways 🔴 Hard 2m We are given a directed acyclic graph (DAG) with n nodes numbered f…
3621 Number of Integers With Popcount-Depth Equal to K I 🔴 Hard 1m 33s This problem asks us to count integers x in the range [1, n] such t…
3622 Check Divisibility by Digit Sum and Product 🟢 Easy 38s The problem asks us to determine if a given positive integer n is d…
3625 Count Number of Trapezoids II 🔴 Hard 47s The problem asks us to count the number of unique trapezoids that c…
3626 Find Stores with Inventory Imbalance 🟡 Medium 1m 23s This problem asks us to identify stores with an inventory imbalance…
3628 Maximum Number of Subsequences After One Inserting 🟡 Medium 1m 59s We are given a string consisting of uppercase English letters. From…
3629 Minimum Jumps to Reach End via Prime Teleportation 🟡 Medium 1m 48s The problem gives an integer array nums of length n, where each ind…
3630 Partition Array for Maximum XOR and AND 🔴 Hard 50s The problem asks us to partition an integer array nums into three s…
3631 Sort Threats by Severity and Exploitability 🟡 Medium 1m 27s We are asked to sort a list of threats according to a computed scor…
3632 Subarrays with XOR at Least K 🔴 Hard 1m 41s This problem asks us to count the number of contiguous subarrays of…
3633 Earliest Finish Time for Land and Water Rides I 🟢 Easy 1m 44s The problem asks us to determine the earliest possible time a touri…
3634 Minimum Removals to Balance Array 🟡 Medium 1m 36s The problem asks us to transform a given integer array nums into a …
3635 Earliest Finish Time for Land and Water Rides II 🟡 Medium 56s Great! We will cover LeetCode 3627 - Maximum Median Sum of Subseque…
3636 Threshold Majority Queries 🔴 Hard 2m 12s The problem asks us to process multiple queries on a given array nu…
3637 Trionic Array I 🟢 Easy 2m 50s We are given an integer array nums and need to determine whether it…
3638 Maximum Balanced Shipments 🟡 Medium 47s We are given an array weight representing parcels arranged in a lin…
3639 Minimum Time to Activate String 🟡 Medium 2m 11s We are given a string s of length n and a permutation array order. …
3640 Trionic Array II 🔴 Hard 2m 53s We are given an integer array nums, and we must find the maximum po…
3641 Longest Semi-Repeating Subarray 🟡 Medium 1m 32s We are given an integer array nums and an integer k. A subarray is …
3642 Find Books with Polarized Opinions 🟡 Medium 44s The problem asks us to identify books that exhibit polarized opinio…
3643 Flip Square Submatrix Vertically 🟢 Easy 1m 19s This problem gives us an m x n matrix called grid and three integer…
3644 Maximum K to Sort a Permutation 🟡 Medium 11m 43s LeetCode 3644: Maximum K to Sort a Permutation (Medium)
3646 Next Special Palindrome Number 🔴 Hard 54s This problem asks us to construct a number system under two simulta…
3647 Maximum Weight in Two Bags 🟡 Medium 1m 2s This problem asks us to distribute a set of items, each with a give…
3648 Minimum Sensors to Cover Grid 🟡 Medium 44s The problem gives an n × m grid where each cell is identified by co…
3649 Number of Perfect Pairs 🟡 Medium 2m 53s We are given an integer array nums and must count how many index pa…
3651 Minimum Cost Path with Teleportations 🔴 Hard 1m 7s The problem asks us to find the minimum cost to travel from the top…
3652 Best Time to Buy and Sell Stock using Strategy 🟡 Medium 39s This problem asks us to calculate the maximum possible profit from …
3653 XOR After Range Multiplication Queries I 🟡 Medium 2m 56s We are given an integer array nums and a list of queries. Each quer…
3654 Minimum Sum After Divisible Sum Deletions 🟡 Medium 1m 59s This problem gives us an array nums containing positive integers an…
3655 XOR After Range Multiplication Queries II 🔴 Hard 1m 20s We are given an array nums and a list of queries. Each query has th…
3657 Find Loyal Customers 🟡 Medium 1m 1s This problem is a SQL aggregation and filtering task. We are given …
3658 GCD of Odd and Even Sums 🟢 Easy 1m 12s The problem asks us to calculate the greatest common divisor (GCD) …
3660 Jump Game IX 🟡 Medium 1m 51s The problem asks us to determine, for each position in an array num…
3661 Maximum Walls Destroyed by Robots 🔴 Hard 1m 12s This problem takes place on a one dimensional number line. We are g…
3662 Filter Characters by Frequency 🟢 Easy 1m 21s This problem asks us to filter a string based on character frequenc…
3663 Find The Least Frequent Digit 🟢 Easy 40s The problem asks us to find the least frequent digit in the decimal…
3664 Two-Letter Card Game 🟡 Medium 5m 11s Each card consists of exactly two lowercase letters. A card is only…
3665 Twisted Mirror Path Count 🟡 Medium 1m 10s This problem asks us to count all unique paths from the top-left co…
3667 Sort Array By Absolute Value 🟢 Easy 2m 12s The problem asks us to reorder an integer array such that the eleme…
3668 Restore Finishing Order 🟢 Easy 1m 32s This problem gives us two arrays: - order, which represents the fin…
3669 Balanced K-Factor Decomposition 🟡 Medium 3m 9s We are given two integers, n and k. Our goal is to split n into exa…
3670 Maximum Product of Two Integers With No Common Bits 🟡 Medium 3m 15s We the objective is to maximize the product rather than count pairs.
3671 Sum of Beautiful Subsequences 🔴 Hard 3m 48s Let a subsequence of nums be any sequence multiples. citeturn0searc…
3674 Minimum Operations to Equalize Array 🟢 Easy 51s Let's go step by step and produce a fully detailed, reference-style…
3675 Minimum Operations to Transform String 🟡 Medium 2m 25s We are given a string s consisting of lowercase English letters. An…
3676 Count Bowl Subarrays 🟡 Medium 54s The problem asks us to count how many subarrays in an array of dist…
3677 Count Binary Palindromic Numbers 🔴 Hard 1m 9s We are given a non-negative integer n and asked to count how many i…
3679 Minimum Discards to Balance Inventory 🟡 Medium 1m 20s This problem models a stream of arriving items. On each day, exactl…
3680 Generate Schedule 🟡 Medium 1m 14s The problem is asking us to generate a round-robin style schedule f…
3681 Maximum XOR of Subsequences 🔴 Hard 1m 26s The problem gives us an array nums of non-negative integers. We mus…
3682 Minimum Index Sum of Common Elements 🟡 Medium 48s This problem is asking us to identify the smallest sum of indices f…
3683 Earliest Time to Finish One Task 🟢 Easy 1m 12s The problem gives us a list of tasks, where each task is represente…
3684 Maximize Sum of At Most K Distinct Elements 🟢 Easy 32s This problem requires selecting at most k distinct elements from a …
3685 Subsequence Sum After Capping Elements 🟡 Medium 1m 2s Here is a complete, rigorous study companion-style solution guide f…
3686 Number of Stable Subsequences 🔴 Hard 36s The problem asks us to count how many subsequences of a given integ…
3687 Library Late Fee Calculator 🟢 Easy 3m 49s Below is,000. This value is well within the limits of standard inte…
3688 Bitwise OR of Even Numbers in an Array 🟢 Easy 1m 32s This problem asks us to compute the bitwise OR of all even numbers …
3689 Maximum Total Subarray Value I 🟡 Medium 56s The problem asks us to select exactly k non-empty subarrays from a …
3690 Split and Merge Array Transformation 🟡 Medium 1m 33s The problem gives us two arrays, nums1 and nums2, of equal length n…
3691 Maximum Total Subarray Value II 🔴 Hard 38s The problem is asking us to select exactly k distinct subarrays fro…
3692 Majority Frequency Characters 🟢 Easy 1m 3s The problem asks us to analyze the frequency distribution of charac…
3693 Climbing Stairs II 🟡 Medium 47s This problem is an extension of the classic "climbing stairs" dynam…
3694 Distinct Points Reachable After Substring Removal 🟡 Medium 1m 29s We are given a movement string s consisting of the four directions:…
3695 Maximize Alternating Sum Using Swaps 🔴 Hard 1m 31s We are given an array nums and a list of allowed swap operations. T…
3696 Maximum Distance Between Unequal Words in Array I 🟢 Easy 1m 12s The problem gives us an array of strings, words, and asks us to fin…
3697 Compute Decimal Representation 🟢 Easy 31s This problem asks us to decompose a positive integer n into the few…
3698 Split Array With Minimum Difference 🟡 Medium 42s I can write the full detailed guide, but I need to flag one issue f…
3699 Number of ZigZag Arrays I 🔴 Hard 1m 48s Here is the complete technical solution guide for LeetCode 3699 - N…