- 1501. Countries You Can Safely Invest In 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
- 615. Average Salary: Departments VS Company 🔗 📝
|
- 1502. Can Make Arithmetic Progression From Sequence 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Sorting 🔗
|
- 1630. Arithmetic Subarrays 🔗 📝
|
- 1503. Last Moment Before All Ants Fall Out of a Plank 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Brainteaser 🔗
- Simulation 🔗
|
- 2211. Count Collisions on a Road 🔗 📝
|
- 1504. Count Submatrices With All Ones 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Stack 🔗
- Matrix 🔗
- Monotonic Stack 🔗
|
|
- 1505. Minimum Possible Integer After at Most K Adjacent Swaps On Digits 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- String 🔗
- Greedy 🔗
- Binary Indexed Tree 🔗
- Segment Tree 🔗
|
|
- 1506. Find Root of N-Ary Tree 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Hash Table 🔗
- Bit Manipulation 🔗
- Tree 🔗
- Depth-First Search 🔗
|
- 1516. Move Sub-Tree of N-Ary Tree 🔗 📝
|
- 1507. Reformat Date 🔗 📝
|
🆓 |
✅ |
⭐️ |
- String 🔗
|
|
- 1508. Range Sum of Sorted Subarray Sums 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Two Pointers 🔗
- Binary Search 🔗
- Sorting 🔗
|
|
- 1509. Minimum Difference Between Largest and Smallest Value in Three Moves 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
- Sorting 🔗
|
|
- 1510. Stone Game IV 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Math 🔗
- Dynamic Programming 🔗
- Game Theory 🔗
|
- 1563. Stone Game V 🔗 📝
- 1686. Stone Game VI 🔗 📝
- 1690. Stone Game VII 🔗 📝
- 1872. Stone Game VIII 🔗 📝
- 2029. Stone Game IX 🔗 📝
|
- 1511. Customer Order Frequency 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
|
- 1512. Number of Good Pairs 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Hash Table 🔗
- Math 🔗
- Counting 🔗
|
- 2001. Number of Pairs of Interchangeable Rectangles 🔗 📝
- 2083. Substrings That Begin and End With the Same Letter 🔗 📝
|
- 1513. Number of Substrings With Only 1s 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Math 🔗
- String 🔗
|
- 1759. Count Number of Homogenous Substrings 🔗 📝
- 2062. Count Vowel Substrings of a String 🔗 📝
|
- 1514. Path with Maximum Probability 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Graph 🔗
- Heap (Priority Queue) 🔗
- Shortest Path 🔗
|
- 1976. Number of Ways to Arrive at Destination 🔗 📝
|
- 1515. Best Position for a Service Centre 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Math 🔗
- Geometry 🔗
- Randomized 🔗
|
|
- 1516. Move Sub-Tree of N-Ary Tree 🔗 📝
|
💰 |
|
⭐️⭐️⭐️ |
- Tree 🔗
- Depth-First Search 🔗
|
- 1506. Find Root of N-Ary Tree 🔗 📝
|
- 1517. Find Users With Valid E-Mails 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
|
- 1518. Water Bottles 🔗 📝
|
🆓 |
|
⭐️ |
- Math 🔗
- Simulation 🔗
|
|
- 1519. Number of Nodes in the Sub-Tree With the Same Label 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Hash Table 🔗
- Tree 🔗
- Depth-First Search 🔗
- Breadth-First Search 🔗
- Counting 🔗
|
|
- 1520. Maximum Number of Non-Overlapping Substrings 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- String 🔗
- Greedy 🔗
|
|
- 1521. Find a Value of a Mysterious Function Closest to Target 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Binary Search 🔗
- Bit Manipulation 🔗
- Segment Tree 🔗
|
|
- 1522. Diameter of N-Ary Tree 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Tree 🔗
- Depth-First Search 🔗
|
- 543. Diameter of Binary Tree 🔗 📝
|
- 1523. Count Odd Numbers in an Interval Range 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Math 🔗
|
|
- 1524. Number of Sub-arrays With Odd Sum 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Math 🔗
- Dynamic Programming 🔗
- Prefix Sum 🔗
|
- 2098. Subsequence of Size K With the Largest Even Sum 🔗 📝
|
- 1525. Number of Good Ways to Split a String 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- String 🔗
- Dynamic Programming 🔗
- Bit Manipulation 🔗
|
|
- 1526. Minimum Number of Increments on Subarrays to Form a Target Array 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Stack 🔗
- Greedy 🔗
- Monotonic Stack 🔗
|
|
- 1527. Patients With a Condition 🔗 📝
|
🆓 |
|
⭐️ |
- Database 🔗
|
|
- 1528. Shuffle String 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- String 🔗
|
|
- 1529. Minimum Suffix Flips 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- String 🔗
- Greedy 🔗
|
|
- 1530. Number of Good Leaf Nodes Pairs 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Tree 🔗
- Depth-First Search 🔗
- Binary Tree 🔗
|
|
- 1531. String Compression II 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- String 🔗
- Dynamic Programming 🔗
|
|
- 1532. The Most Recent Three Orders 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
- 1549. The Most Recent Orders for Each Product 🔗 📝
|
- 1533. Find the Index of the Large Integer 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Binary Search 🔗
- Interactive 🔗
|
- 702. Search in a Sorted Array of Unknown Size 🔗 📝
|
- 1534. Count Good Triplets 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Enumeration 🔗
|
- 1995. Count Special Quadruplets 🔗 📝
|
- 1535. Find the Winner of an Array Game 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Simulation 🔗
|
|
- 1536. Minimum Swaps to Arrange a Binary Grid 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
- Matrix 🔗
|
|
- 1537. Get the Maximum Score 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Two Pointers 🔗
- Dynamic Programming 🔗
- Greedy 🔗
|
- 2242. Maximum Score of a Node Sequence 🔗 📝
|
- 1538. Guess the Majority in a Hidden Array 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Math 🔗
- Interactive 🔗
|
|
- 1539. Kth Missing Positive Number 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Binary Search 🔗
|
- 2195. Append K Integers With Minimal Sum 🔗 📝
|
- 1540. Can Convert String in K Moves 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Hash Table 🔗
- String 🔗
|
|
- 1541. Minimum Insertions to Balance a Parentheses String 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- String 🔗
- Stack 🔗
- Greedy 🔗
|
- 1963. Minimum Number of Swaps to Make the String Balanced 🔗 📝
|
- 1542. Find Longest Awesome Substring 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Hash Table 🔗
- String 🔗
- Bit Manipulation 🔗
|
|
- 1543. Fix Product Name Format 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
|
- 1544. Make The String Great 🔗 📝
|
🆓 |
|
⭐️ |
- String 🔗
- Stack 🔗
|
|
- 1545. Find Kth Bit in Nth Binary String 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- String 🔗
- Recursion 🔗
|
|
- 1546. Maximum Number of Non-Overlapping Subarrays With Sum Equals Target 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Greedy 🔗
- Prefix Sum 🔗
|
|
- 1547. Minimum Cost to Cut a Stick 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
|
- 2147. Number of Ways to Divide a Long Corridor 🔗 📝
|
- 1548. The Most Similar Path in a Graph 🔗 📝
|
💰 |
|
⭐️⭐️⭐️ |
- Dynamic Programming 🔗
- Graph 🔗
|
|
- 1549. The Most Recent Orders for Each Product 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
- 1532. The Most Recent Three Orders 🔗 📝
- 1596. The Most Frequently Ordered Products for Each Customer 🔗 📝
|
- 1550. Three Consecutive Odds 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
|
|
- 1551. Minimum Operations to Make Array Equal 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Math 🔗
|
|
- 1552. Magnetic Force Between Two Balls 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Binary Search 🔗
- Sorting 🔗
|
- 2064. Minimized Maximum of Products Distributed to Any Store 🔗 📝
|
- 1553. Minimum Number of Days to Eat N Oranges 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Dynamic Programming 🔗
- Memoization 🔗
|
|
- 1554. Strings Differ by One Character 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Hash Table 🔗
- String 🔗
- Rolling Hash 🔗
- Hash Function 🔗
|
- 2135. Count Words Obtained After Adding a Letter 🔗 📝
|
- 1555. Bank Account Summary 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
|
- 1556. Thousand Separator 🔗 📝
|
🆓 |
|
⭐️ |
- String 🔗
|
|
- 1557. Minimum Number of Vertices to Reach All Nodes 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Graph 🔗
|
|
- 1558. Minimum Numbers of Function Calls to Make Target Array 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
|
|
- 1559. Detect Cycles in 2D Grid 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Depth-First Search 🔗
- Breadth-First Search 🔗
- Union Find 🔗
- Matrix 🔗
|
|
- 1560. Most Visited Sector ina Circular Track 🔗 📝
|
🆓 |
|
⭐️ |
- Array 🔗
- Simulation 🔗
|
|
- 1561. Maximum Number of Coins You Can Get 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Math 🔗
- Greedy 🔗
- Sorting 🔗
- Game Theory 🔗
|
|
- 1562. Find Latest Group of Size M 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Binary Search 🔗
- Simulation 🔗
|
|
- 1563. Stone Game V 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Math 🔗
- Dynamic Programming 🔗
- Game Theory 🔗
|
- 877. Stone Game 🔗 📝
- 1140. Stone Game II 🔗 📝
- 1406. Stone Game III 🔗 📝
- 1510. Stone Game IV 🔗 📝
- 1686. Stone Game VI 🔗 📝
- 1690. Stone Game VII 🔗 📝
- 1872. Stone Game VIII 🔗 📝
- 2029. Stone Game IX 🔗 📝
|
- 1564. Put Boxes Into the Warehouse I 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
- Sorting 🔗
|
- 1580. Put Boxes Into the Warehouse II 🔗 📝
|
- 1565. Unique Orders and Customers Per Month 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
|
- 1566. Detect Pattern of Length M Repeated K or More Times 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Enumeration 🔗
|
- 1668. Maximum Repeating Substring 🔗 📝
|
- 1567. Maximum Length of Subarray With Positive Product 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Greedy 🔗
|
|
- 1568. Minimum Number of Days to Disconnect Island 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Depth-First Search 🔗
- Breadth-First Search 🔗
- Matrix 🔗
- Strongly Connected Component 🔗
|
|
- 1569. Number of Ways to Reorder Array to Get Same BST 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Math 🔗
- Divide and Conquer 🔗
- Dynamic Programming 🔗
- Tree 🔗
- Union Find 🔗
- Binary Search Tree 🔗
- Memoization 🔗
- Combinatorics 🔗
- Binary Tree 🔗
|
|
- 1570. Dot Product of Two Sparse Vectors 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Two Pointers 🔗
- Design 🔗
|
|
- 1571. Warehouse Manager 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
|
- 1572. Matrix Diagonal Sum 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Matrix 🔗
|
- 2133. Check if Every Row and Column Contains All Numbers 🔗 📝
- 2319. Check if Matrix Is X-Matrix 🔗 📝
|
- 1573. Number of Ways to Split a String 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Math 🔗
- String 🔗
|
- 548. Split Array with Equal Sum 🔗 📝
|
- 1574. Shortest Subarray to be Removed to Make Array Sorted 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Two Pointers 🔗
- Binary Search 🔗
- Stack 🔗
- Monotonic Stack 🔗
|
|
- 1575. Count All Possible Routes 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Memoization 🔗
|
|
- 1576. Replace All ?'s to Avoid Consecutive Repeating Characters 🔗 📝
|
🆓 |
|
⭐️ |
- String 🔗
|
|
- 1577. Number of Ways Where Square of Number Is Equal to Product of Two Numbers 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Math 🔗
- Two Pointers 🔗
|
|
- 1578. Minimum Time to Make Rope Colorful 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- String 🔗
- Dynamic Programming 🔗
- Greedy 🔗
|
|
- 1579. Remove Max Number of Edges to Keep Graph Fully Traversable 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Union Find 🔗
- Graph 🔗
|
|
- 1580. Put Boxes Into the Warehouse II 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
- Sorting 🔗
|
- 1564. Put Boxes Into the Warehouse I 🔗 📝
|
- 1581. Customer Who Visited but Did Not Make Any Transactions 🔗 📝
|
🆓 |
|
⭐️ |
- Database 🔗
|
- 1607. Sellers With No Sales 🔗 📝
|
- 1582. Special Positions in a Binary Matrix 🔗 📝
|
🆓 |
|
⭐️ |
- Array 🔗
- Matrix 🔗
|
|
- 1583. Count Unhappy Friends 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Simulation 🔗
|
|
- 1584. Min Cost to Connect All Points 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Union Find 🔗
- Minimum Spanning Tree 🔗
|
- 2152. Minimum Number of Lines to Cover Points 🔗 📝
|
- 1585. Check If String Is Transformable With Substring Sort Operations 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- String 🔗
- Greedy 🔗
- Sorting 🔗
|
|
- 1586. Binary Search Tree Iterator II 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Stack 🔗
- Tree 🔗
- Design 🔗
- Binary Search Tree 🔗
- Binary Tree 🔗
- Iterator 🔗
|
- 173. Binary Search Tree Iterator 🔗 📝
|
- 1587. Bank Account Summary II 🔗 📝
|
🆓 |
|
⭐️ |
- Database 🔗
|
|
- 1588. Sum of All Odd Length Subarrays 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Math 🔗
- Prefix Sum 🔗
|
|
- 1589. Maximum Sum Obtained of Any Permutation 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
- Sorting 🔗
- Prefix Sum 🔗
|
|
- 1590. Make Sum Divisible by P 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Prefix Sum 🔗
|
- 974. Subarray Sums Divisible by K 🔗 📝
|
- 1591. Strange Printer II 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Graph 🔗
- Topological Sort 🔗
- Matrix 🔗
|
- 664. Strange Printer 🔗 📝
- 2360. Longest Cycle in a Graph 🔗 📝
|
- 1592. Rearrange Spaces Between Words 🔗 📝
|
🆓 |
✅ |
⭐️ |
- String 🔗
|
- 68. Text Justification 🔗 📝
|
- 1593. Split a String Into the Max Number of Unique Substrings 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Hash Table 🔗
- String 🔗
- Backtracking 🔗
|
|
- 1594. Maximum Non Negative Product in a Matrix 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Matrix 🔗
|
|
- 1595. Minimum Cost to Connect Two Groups of Points 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Bit Manipulation 🔗
- Matrix 🔗
- Bitmask 🔗
|
|
- 1596. The Most Frequently Ordered Products for Each Customer 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
- 1549. The Most Recent Orders for Each Product 🔗 📝
|
- 1597. Build Binary Expression Tree From Infix Expression 🔗 📝
|
💰 |
|
⭐️⭐️⭐️ |
- String 🔗
- Stack 🔗
- Tree 🔗
- Binary Tree 🔗
|
- 772. Basic Calculator III 🔗 📝
- 1612. Check If Two Expression Trees are Equivalent 🔗 📝
|
- 1598. Crawler Log Folder 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- String 🔗
- Stack 🔗
|
- 682. Baseball Game 🔗 📝
- 844. Backspace String Compare 🔗 📝
|
- 1599. Maximum Profit of Operating a Centennial Wheel 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Simulation 🔗
|
|
- 1600. Throne Inheritance 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Hash Table 🔗
- Tree 🔗
- Depth-First Search 🔗
- Design 🔗
|
- 1993. Operations on Tree 🔗 📝
|