23.10.30 Today’s Leetcode
1356. Sort Integers by The Number of 1 Bits
1356. Sort Integers by The Number of 1 Bits
5. Longest Palindromic Substring (medium)
823. Binary Trees With Factors
1203. Sort Items by Groups Respecting Dependencies
871. Minimum Number of Refueling Stops (hard)
2161. Partition Array According to Given Pivot (medium)
2370. Longest Ideal Subsequence (medium)
63. Unique Paths II (medium)
518. Coin Change II (medium)
2616. Minimize the Maximum Difference of Pairs (medium)
2594. Minimum Time to Repair Cars (medium)
95. Unique Binary Search Trees II
139. Word Break (medium)
77. Combinations (medium)
712. Minimum ASCII Delete Sum for Two Strings
808. Soup Servings (medium)
518. Coin Change II (medium)
486. Predict the Winner (medium)
2226. Maximum Candies Allocated to K Children
1870. Minimum Speed to Arrive on Time (medium)
852. Peak Index in a Mountain Array (medium)
50. Pow(x, n)
894. All Possible Full Binary Trees (medium)
667. Beautiful Arrangement II (medium)
673. Number of Longest Increasing Subsequence (medium)
735. Asteroid Collision (medium)
435. Non-overlapping Intervals (medium)
123. Best Time to Buy and Sell Stock III (hard)
445. Add Two Numbers II (medium)
1125. Smallest Sufficient Team
848. Shifting Letters (medium)
1218. Longest Arithmetic Subsequence of Given Difference (medium)
802. Find Eventual Safe States (medium)
863. All Nodes Distance K in Binary Tree (medium)
111. Minimum Depth of Binary Tree (easy)
2272. Substring With Largest Variance (hard)
2551. Put Marbles in Bags (hard)
2024. Maximize the Confusion of an Exam (medium)
1493. Longest Subarray of 1’s After Deleting One Element (medium)
137. Single Number II (medium)
859. Buddy Strings (easy)
1601. Maximum Number of Achievable Transfer Requests (hard)
1027. Longest Arithmetic Subsequence (medium)
1970. Last Day Where You Can Still Cross (hard)
1514. Path with Maximum Probability (medium)
373. Find K Pairs with Smallest Sums (medium)
2511. Maximum Enemy Forts That Can Be Captured (easy)
1575. Count All Possible Routes (hard)
714. Best Time to Buy and Sell Stock with Transaction Fee (medium)
2448. Minimum Cost to Make Array Equal (hard)
2090. K Radius Subarray Averages (medium)
1732. Find the Highest Altitude (easy)
2328. Number of Increasing Paths in a Grid (hard)
1187. Make Array Strictly Increasing (hard)
1569. Number of Ways to Reorder Array to Get Same BST (hard)
1161. Maximum Level Sum of a Binary Tree (medium)
530. Minimum Absolute Difference in BST (easy)
2352. Equal Row and Column Pairs (medium)
228. Summary Ranges (easy)
1146. Snapshot Array (medium)
1802. Maximum Value at a Given Index in a Bounded Array (medium)
744. Find Smallest Letter Greater Than Target (easy)
1351. Count Negative Numbers in a Sorted Matrix (easy)
1318. Minimum Flips to Make a OR b Equal to c (medium)
1502. Can Make Arithmetic Progression From Sequence (easy)
1232. Check If It Is a Straight Line (easy)
547. Number of Provinces (medium)
1376. Time Needed to Inform All Employees
2101. Detonate the Maximum Bombs (medium)
1091. Shortest Path in Binary Matrix (medium)
1396. Design Underground System (medium)
705. Design HashSet (easy)
1603. Design Parking System (easy)
1547. Minimum Cost to Cut a Stick (hard)
1406. Stone Game III (hard)
1140. Stone Game II (medium)
837. New 21 Game (medium)
2542. Maximum Subsequence Score (medium)
703. Kth Largest Element in a Stream (easy)
347. Top K Frequent Elements (medium)
934. Shortest Bridge (medium)
400. Nth Digit (medium)
785. Is Graph Bipartite? (medium)
1790. Check if One String Swap Can Make Strings Equal (easy)
2325. Decode the Message (easy)
24. Swap Nodes in Pairs (medium)
1721. Swapping Nodes in a Linked List (medium)
1799. Maximize Score After N Operations (hard)
2466. Count Ways To Build Good Strings (medium)
2140. Solving Questions With Brainpower (medium)
1035. Uncrossed Lines (medium)
59. Spiral Matrix II (medium)
54. Spiral Matrix (medium)
1572. Matrix Diagonal Sum (easy)
1964. Find the Longest Valid Obstacle Course at Each Position (hard)
1498. Number of Subsequences That Satisfy the Given Sum Condition (medium)
1456. Maximum Number of Vowels in a Substring of Given Length (medium)
649. Dota2 Senate (medium)
2215. Find the Difference of Two Arrays (easy)
1822. Sign of the Product of an Array (easy)
1491. Average Salary Excluding the Minimum and Maximum Salary (easy)
1579. Remove Max Number of Edges to Keep Graph Fully Traversable (hard)
1697. Checking Existence of Edge Length Limited Paths (hard)
839. Similar String Groups (hard)
319. Bulb Switcher (medium)
258. Add Digits (easy)
2336. Smallest Number in Infinite Set (medium)
1046. Last Stone Weight (easy)
1416. Restore The Array (hard)
1312. Minimum Insertion Steps to Make a String Palindrome (hard)
879. Profitable Schemes
662. Maximum Width of Binary Tree (medium)
layout: single title: “23.04.19 Today’s Leetcode” tags: leetcode categories: leetcode — ## 1372. Longest ZigZag Path in a Binary Tree (medium) DF...
1768. Merge Strings Alternately (easy)
1621. Number of Sets of K Non-Overlapping Line Segments
1639. Number of Ways to Form a Target String Given a Dictionary
2218. Maximum Value of K Coins From Piles
516. Longest Palindromic Subsequence (medium)
946. Validate Stack Sequences (medium)
71. Simplify Path (medium)
2390. Removing Stars From a String (medium)
20. Valid Parentheses (easy)
1857. Largest Color Value in a Directed Graph (hard)
33. Clone Graph (medium)
1020. Number of Enclaves (medium)
1254. Number of Closed Islands (medium)
2439. Minimize Maximum of Array (medium)
1636. Sort Array by Increasing Frequency (easy)
881. Boats to Save People (medium)
2300. Successful Pairs of Spells and Potions (medium)
704. Binary Search (easy)
1444. Number of Ways of Cutting a Pizza (hard)
87. Scramble String (hard)
554. Brick Wall (medium)
983. Minimum Cost For Tickets (medium)
64. Minimum Path Sum (medium)
2360. Longest Cycle in a Graph (hard)
2316. Count Unreachable Pairs of Nodes in an Undirected Graph (medium)
1466. Reorder Routes to Make All Paths Lead to the City Zero (medium)
1319. Number of Operations to Make Network Connected (medium)
2492. Minimum Score of a Path Between Two Cities (medium)
2348. Number of Zero-Filled Subarrays (medium)
605. Can Place Flowers (easy)
211. Design Add and Search Words Data Structure (medium)
310. Minimum Height Trees (medium)
208. Implement Trie (Prefix Tree) (medium)
106. Construct Binary Tree from Inorder and Postorder Traversal (medium)
958. Check Completeness of a Binary Tree (medium)
Rank : 95644
101. Symmetric Tree (easy)
23. Merge k Sorted Lists (hard)
109. Convert Sorted List to Binary Search Tree (medium)
382. Linked List Random Node (medium)
142. Linked List Cycle II (medium)
210. Course Schedule II (medium)
875. Koko Eating Bananas (medium)
2187. Minimum Time to Complete Trips (medium)
1539. Kth Missing Positive Number (easy)
1345. Jump Game IV (hard)
2444. Count Subarrays With Fixed Bounds (hard)
28. Find the Index of the First Occurrence in a String (medium)
160. Intersection of Two Linked Lists (easy)
912. Sort an Array (medium)
652. Find Duplicate Subtrees (medium)
427. Construct Quad Tree (medium)
72. Edit Distance (hard)
106. Construct Binary Tree from Inorder and Postorder Traversal (medium)
1675. Minimize Deviation in Array (hard)
502. IPO (hard)
1011. Capacity To Ship Packages Within D Days (medium)
540. Single Element in a Sorted Array (medium)
35. Search Insert Position (easy)
103. Binary Tree Zigzag Level Order Traversal (medium)
95. Unique Binary Search Trees II (medium)
혹한기 훈련으로 인해서 못풀었던 문제들을 한번에 다 몰아서 풀었다. 내 아까운 코인들, 하지만 이럴때 쓰라고 모아둔 7000코인이라서 아낌없이 redeem으로 전환해서 풀었다.
144. Binary Tree Preorder Traversal (easy)
20. Valid Parentheses (easy)
67. Add Binary (easy)
1523. Count Odd Numbers in an Interval Range (easy)
2477. Minimum Fuel Cost to Report to the Capital (medium)
1129. Shortest Path with Alternating Colors (medium)
1162. As Far from Land as Possible (medium)
2306. Naming a Company (hard)
45. Jump Game II (medium)
904. Fruit Into Baskets (medium)
1470. Shuffle the Array (easy)
438. Find All Anagrams in a String (medium)
567. Permutation in String (medium)
6. Zigzag Conversion (medium)
953. Verifying an Alien Dictionary (easy)
1071. Greatest Common Divisor of Strings (easy)
1626. Best Team With No Conflicts (medium)
N-th Tribonacci Number (easy)
460. LFU Cache (hard)
352. Data Stream as Disjoint Intervals (hard)
472. Concatenated Words (hard)
787. Cheapest Flights Within K Stops (medium)
2359. Find Closest Node to Given Two Nodes (medium)
909. Snakes and Ladders (medium)
997. Find the Town Judge(easy)
131. Palindrome Partitioning (medium)
93. Restore IP Addresses (medium)
491. Non-decreasing Subsequences (medium)
974. Subarray Sums Divisible by K (medium)
918. Maximum Sum Circular Subarray
926. Flip String to Monotone Increasing
1784. Check if Binary String Has at Most One Segment of Ones (easy)
2421. Number of Good Paths (hard)
1061. Lexicographically Smallest Equivalent String
2246. Longest Path With Different Adjacent Characters (hard)
1519. Number of Nodes in the Sub-Tree With the Same Label
1443. Minimum Time to Collect All Apples in a Tree (medium)
101. Same Tree (Easy)
Binary Tree Preorder (easy)
149. Max Points on a Line (hard)
134. Gas Station
1833. Maximum Ice Cream Bars (medium)
452. Minimum Number of Arrows to Burst Balloons (medium)
2244. Minimum Rounds to Complete All Tasks (medium)
944. Delete Columns to Make Sorted (easy)
520. Detect Capital (easy)
290. Word Pattern (easy)
980. Unique Paths III (hard)
797. All Paths From Source to Target (medium)
1834. Single-Threaded CPU (medium)
1962. Remove Stones to Minimize the Total (Medium)
2279. Maximum Bags With Full Capacity of Rocks (Medium)
55. Jump Game (Medium)
1143. Longest Common Subsequene (Medium, Fail)
198. House Robber (Medium)
1442. Count Triplets That Can Form Two Arrays of Equal XOR (Medium)
1768. Merge Strings Alternately (easy)