File tree
171 files changed
+2464
-2465
lines changed- lcci/16.04.Tic-Tac-Toe
- solution
- 0000-0099
- 0002.Add Two Numbers
- 0003.Longest Substring Without Repeating Characters
- 0100-0199
- 0100.Same Tree
- 0105.Construct Binary Tree from Preorder and Inorder Traversal
- 0175.Combine Two Tables
- 0181.Employees Earning More Than Their Managers
- 0185.Department Top Three Salaries
- 0196.Delete Duplicate Emails
- 0197.Rising Temperature
- 0200-0299
- 0219.Contains Duplicate II
- 0262.Trips and Users
- 0300-0399
- 0305.Number of Islands II
- 0307.Range Sum Query - Mutable
- 0319.Bulb Switcher
- 0332.Reconstruct Itinerary
- 0383.Ransom Note
- 0400-0499
- 0421.Maximum XOR of Two Numbers in an Array
- 0468.Validate IP Address
- 0476.Number Complement
- 0478.Generate Random Point in a Circle
- 0500-0599
- 0511.Game Play Analysis I
- 0550.Game Play Analysis IV
- 0570.Managers with at Least 5 Direct Reports
- 0600-0699/0679.24 Game
- 0700-0799/0715.Range Module
- 0800-0899/0898.Bitwise ORs of Subarrays
- 0900-0999
- 0936.Stamping The Sequence
- 0995.Minimum Number of K Consecutive Bit Flips
- 1100-1199
- 1160.Find Words That Can Be Formed by Characters
- 1168.Optimize Water Distribution in a Village
- 1300-1399
- 1322.Ads Performance
- 1354.Construct Target Array With Multiple Sums
- 1400-1499
- 1402.Reducing Dishes
- 1410.HTML Entity Parser
- 1456.Maximum Number of Vowels in a Substring of Given Length
- 1462.Course Schedule IV
- 1500-1599
- 1531.String Compression II
- 1538.Guess the Majority in a Hidden Array
- 1545.Find Kth Bit in Nth Binary String
- 1600-1699
- 1627.Graph Connectivity With Threshold
- 1631.Path With Minimum Effort
- 1700-1799
- 1724.Checking Existence of Edge Length Limited Paths II
- 1728.Cat and Mouse II
- 1800-1899
- 1842.Next Palindrome Using Same Digits
- 1850.Minimum Adjacent Swaps to Reach the Kth Smallest Number
- 1862.Sum of Floored Pairs
- 1863.Sum of All Subset XOR Totals
- 1871.Jump Game VII
- 1872.Stone Game VIII
- 1876.Substrings of Size Three with Distinct Characters
- 1878.Get Biggest Three Rhombus Sums in a Grid
- 1879.Minimum XOR Sum of Two Arrays
- 1900-1999
- 1900.The Earliest and Latest Rounds Where Players Compete
- 1901.Find a Peak Element II
- 1931.Painting a Grid With Three Different Colors
- 1964.Find the Longest Valid Obstacle Course at Each Position
- 2000-2099/2039.The Time When the Network Becomes Idle
- 2100-2199/2132.Stamping the Grid
- 2200-2299
- 2204.Distance to a Cycle in Undirected Graph
- 2276.Count Integers in Intervals
- 2300-2399/2307.Check for Contradictions in Equations
- 2700-2799
- 2714.Find Shortest Path with K Hops
- 2736.Maximum Sum Queries
- 2738.Count Occurrences in Text
- 2800-2899
- 2818.Apply Operations to Maximize Score
- 2873.Maximum Value of an Ordered Triplet I
- 2874.Maximum Value of an Ordered Triplet II
- 2875.Minimum Size Subarray in Infinite Array
- 2885.Rename Columns
- 2891.Method Chaining
- 2900-2999
- 2902.Count of Sub-Multisets With Bounded Sum
- 2904.Shortest and Lexicographically Smallest Beautiful String
- 2912.Number of Ways to Reach Destination in the Grid
- 2925.Maximum Score After Applying Operations on a Tree
- 2926.Maximum Balanced Subsequence Sum
- 2927.Distribute Candies Among Children III
- 2929.Distribute Candies Among Children II
- 2930.Number of Strings Which Can Be Rearranged to Contain Substring
- 2931.Maximum Spending After Buying Items
- 2932.Maximum Strong Pair XOR I
- 2933.High-Access Employees
- 2934.Minimum Operations to Maximize Last Elements in Arrays
- 2935.Maximum Strong Pair XOR II
- 2941.Maximum GCD-Sum of a Subarray
- 2943.Maximize Area of Square Hole in Grid
- 2944.Minimum Number of Coins for Fruits
- 2945.Find Maximum Non-decreasing Array Length
- 2946.Matrix Similarity After Cyclic Shifts
- 2947.Count Beautiful Substrings I
- 2948.Make Lexicographically Smallest Array by Swapping Elements
- 2954.Count the Number of Infection Sequences
- 2955.Number of Same-End Substrings
- 2959.Number of Possible Sets of Closing Branches
- 2960.Count Tested Devices After Test Operations
- 2961.Double Modular Exponentiation
- 2962.Count Subarrays Where Max Element Appears at Least K Times
- 2963.Count the Number of Good Partitions
- 2964.Number of Divisible Triplet Sums
- 2965.Find Missing and Repeated Values
- 2966.Divide Array Into Arrays With Max Difference
- 2967.Minimum Cost to Make Array Equalindromic
- 2968.Apply Operations to Maximize Frequency Score
- 2969.Minimum Number of Coins for Fruits II
- 2970.Count the Number of Incremovable Subarrays I
- 2971.Find Polygon With the Largest Perimeter
- 2972.Count the Number of Incremovable Subarrays II
- 2973.Find Number of Coins to Place in Tree Nodes
- 2975.Maximum Square Area by Removing Fences From a Field
- 2977.Minimum Cost to Convert String II
- 2979.Most Expensive Item That Can Not Be Bought
- 2980.Check if Bitwise OR Has Trailing Zeros
- 2981.Find Longest Special Substring That Occurs Thrice I
- 2982.Find Longest Special Substring That Occurs Thrice II
- 2983.Palindrome Rearrangement Queries
- 2984.Find Peak Calling Hours for Each City
- 2985.Calculate Compressed Mean
- 2986.Find Third Transaction
- 2987.Find Expensive Cities
- 2988.Manager of the Largest Department
- 2991.Top Three Wineries
- 2992.Number of Self-Divisible Permutations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
171 files changed
+2464
-2465
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 |
| |
82 | 87 |
| |
83 | 88 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 |
| - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 |
| |
90 | 95 |
| |
91 | 96 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
| 24 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
| 30 | + | |
32 | 31 |
| |
33 | 32 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
| 252 | + | |
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
| 242 | + | |
243 | 243 |
| |
244 | 244 |
| |
245 | 245 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
106 | 105 |
| |
107 | 106 |
| |
108 | 107 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
92 | 91 |
| |
93 | 92 |
| |
94 | 93 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
165 |
| - | |
166 | 165 |
| |
167 | 166 |
| |
168 | 167 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
162 | 161 |
| |
163 | 162 |
| |
164 | 163 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
112 |
| - | |
113 | 112 |
| |
114 | 113 |
| |
115 | 114 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
109 | 108 |
| |
110 | 109 |
| |
111 | 110 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 |
| - | |
102 | 101 |
| |
103 | 102 |
| |
104 | 103 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
95 | 94 |
| |
96 | 95 |
| |
97 | 96 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
| 11 | + | |
15 | 12 |
| |
16 | 13 |
| |
17 | 14 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 |
| - | |
190 | 189 |
| |
191 | 190 |
| |
192 | 191 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
173 | 173 |
| |
174 | 174 |
| |
175 | 175 |
| |
176 |
| - | |
177 | 176 |
| |
178 | 177 |
| |
179 | 178 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 |
| - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
112 | 117 |
| |
113 | 118 |
| |
114 | 119 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
103 |
| - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
104 | 109 |
| |
105 | 110 |
| |
106 | 111 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
559 | 559 |
| |
560 | 560 |
| |
561 | 561 |
| |
562 |
| - | |
| 562 | + | |
563 | 563 |
| |
564 | 564 |
| |
565 | 565 |
| |
566 |
| - | |
567 |
| - | |
| 566 | + | |
| 567 | + | |
568 | 568 |
| |
569 | 569 |
| |
570 | 570 |
| |
571 |
| - | |
572 |
| - | |
573 |
| - | |
574 |
| - | |
575 |
| - | |
576 |
| - | |
577 |
| - | |
578 |
| - | |
579 |
| - | |
580 |
| - | |
581 |
| - | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
582 | 582 |
| |
583 | 583 |
| |
584 | 584 |
| |
585 |
| - | |
586 |
| - | |
587 |
| - | |
588 |
| - | |
589 |
| - | |
590 |
| - | |
591 |
| - | |
592 |
| - | |
593 |
| - | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
594 | 594 |
| |
595 | 595 |
| |
596 | 596 |
| |
597 |
| - | |
598 |
| - | |
599 |
| - | |
600 |
| - | |
601 |
| - | |
602 |
| - | |
603 |
| - | |
604 |
| - | |
605 |
| - | |
606 |
| - | |
607 |
| - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
608 | 608 |
| |
609 | 609 |
| |
610 | 610 |
| |
611 |
| - | |
612 |
| - | |
613 |
| - | |
614 |
| - | |
615 |
| - | |
616 |
| - | |
617 |
| - | |
618 |
| - | |
619 |
| - | |
620 |
| - | |
621 |
| - | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
622 | 622 |
| |
623 | 623 |
| |
624 | 624 |
| |
625 |
| - | |
| 625 | + | |
626 | 626 |
| |
627 | 627 |
| |
628 | 628 |
| |
629 |
| - | |
| 629 | + | |
630 | 630 |
| |
631 | 631 |
| |
632 | 632 |
| |
633 |
| - | |
634 |
| - | |
635 |
| - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
636 | 636 |
| |
637 | 637 |
| |
638 | 638 |
| |
639 |
| - | |
| 639 | + | |
640 | 640 |
| |
641 | 641 |
| |
642 | 642 |
| |
643 |
| - | |
| 643 | + | |
644 | 644 |
| |
645 | 645 |
| |
646 |
| - | |
647 | 646 |
| |
648 | 647 |
| |
649 | 648 |
| |
|
0 commit comments