File tree
75 files changed
+321
-180
lines changed- lcof/面试题05. 替换空格
- solution
- 0000-0099
- 0001.Two Sum
- 0013.Roman to Integer
- 0014.Longest Common Prefix
- 0026.Remove Duplicates from Sorted Array
- 0027.Remove Element
- 0028.Find the Index of the First Occurrence in a String
- 0058.Length of Last Word
- 0070.Climbing Stairs
- 0088.Merge Sorted Array
- 0100-0199
- 0100.Same Tree
- 0121.Best Time to Buy and Sell Stock
- 0125.Valid Palindrome
- 0169.Majority Element
- 0200-0299
- 0217.Contains Duplicate
- 0229.Majority Element II
- 0263.Ugly Number
- 0268.Missing Number
- 0299.Bulls and Cows
- 0300-0399
- 0349.Intersection of Two Arrays
- 0350.Intersection of Two Arrays II
- 0383.Ransom Note
- 0387.First Unique Character in a String
- 0400-0499
- 0412.Fizz Buzz
- 0434.Number of Segments in a String
- 0451.Sort Characters By Frequency
- 0485.Max Consecutive Ones
- 0500-0599
- 0509.Fibonacci Number
- 0557.Reverse Words in a String III
- 0600-0699
- 0643.Maximum Average Subarray I
- 0674.Longest Continuous Increasing Subsequence
- 0700-0799
- 0744.Find Smallest Letter Greater Than Target
- 0796.Rotate String
- 0900-0999/0977.Squares of a Sorted Array
- 1000-1099/1056.Confusing Number
- 1100-1199
- 1137.N-th Tribonacci Number
- 1160.Find Words That Can Be Formed by Characters
- 1189.Maximum Number of Balloons
- 1200-1299
- 1213.Intersection of Three Sorted Arrays
- 1287.Element Appearing More Than 25% In Sorted Array
- 1290.Convert Binary Number in a Linked List to Integer
- 1300-1399
- 1323.Maximum 69 Number
- 1346.Check If N and Its Double Exist
- 1394.Find Lucky Integer in an Array
- 1400-1499
- 1426.Counting Elements
- 1431.Kids With the Greatest Number of Candies
- 1451.Rearrange Words in a Sentence
- 1455.Check If a Word Occurs As a Prefix of Any Word in a Sentence
- 1460.Make Two Arrays Equal by Reversing Subarrays
- 1464.Maximum Product of Two Elements in an Array
- 1475.Final Prices With a Special Discount in a Shop
- 1480.Running Sum of 1d Array
- 1491.Average Salary Excluding the Minimum and Maximum Salary
- 1500-1599
- 1507.Reformat Date
- 1512.Number of Good Pairs
- 1518.Water Bottles
- 1523.Count Odd Numbers in an Interval Range
- 1600-1699/1672.Richest Customer Wealth
- 1700-1799
- 1704.Determine if String Halves Are Alike
- 1732.Find the Highest Altitude
- 1748.Sum of Unique Elements
- 1800-1899/1876.Substrings of Size Three with Distinct Characters
- 1900-1999
- 1941.Check if All Characters Have Equal Number of Occurrences
- 1945.Sum of Digits of String After Convert
- 1957.Delete Characters to Make Fancy String
- 2000-2099
- 2000.Reverse Prefix of Word
- 2068.Check Whether Two Strings are Almost Equivalent
- 2100-2199/2190.Most Frequent Number Following Key In an Array
- 2200-2299
- 2215.Find the Difference of Two Arrays
- 2248.Intersection of Multiple Arrays
- 2259.Remove Digit From Number to Maximize Result
- 2300-2399
- 2351.First Letter to Appear Twice
- 2390.Removing Stars From a String
- 2400-2499/2404.Most Frequent Even Element
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
75 files changed
+321
-180
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 |
| - | |
10 |
| - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 |
| |
12 | 15 |
| |
13 | 16 |
| |
14 |
| - | |
| 17 | + |
+26-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
80 | 103 |
| |
81 | 104 |
| |
82 | 105 |
| |
83 | 106 |
| |
84 | 107 |
| |
85 | 108 |
| |
86 | 109 |
| |
87 |
| - | |
88 |
| - | |
| 110 | + | |
| 111 | + | |
89 | 112 |
| |
90 | 113 |
| |
| 114 | + |
0 commit comments