title | type |
---|---|
Math |
docs |
Title | Solution | Difficulty | Time | Space | 收藏 |
---|---|---|---|---|---|
2. Add Two Numbers | [Go]({{< relref "/ChapterFour/0002.Add-Two-Numbers.md" >}}) | Medium | O(n) | O(1) | |
50. Pow(x, n) | [Go]({{< relref "/ChapterFour/0050.Powx-n.md" >}}) | Medium | O(log n) | O(1) | |
60. Permutation Sequence | [Go]({{< relref "/ChapterFour/0060.Permutation-Sequence.md" >}}) | Medium | O(n log n) | O(1) | |
69. Sqrt(x) | [Go]({{< relref "/ChapterFour/0069.Sqrtx.md" >}}) | Easy | O(log n) | O(1) | |
202. Happy Number | [Go]({{< relref "/ChapterFour/0202.Happy-Number.md" >}}) | Easy | O(log n) | O(1) | |
224. Basic Calculator | [Go]({{< relref "/ChapterFour/0224.Basic-Calculator.md" >}}) | Hard | O(n) | O(n) | |
231. Power of Two | [Go]({{< relref "/ChapterFour/0231.Power-of-Two.md" >}}) | Easy | O(1) | O(1) | |
263. Ugly Number | [Go]({{< relref "/ChapterFour/0263.Ugly-Number.md" >}}) | Easy | O(log n) | O(1) | |
326. Power of Three | [Go]({{< relref "/ChapterFour/0326.Power-of-Three.md" >}}) | Easy | O(1) | O(1) | |
343. Integer Break | [Go]({{< relref "/ChapterFour/0343.Integer-Break.md" >}}) | Medium | O(n^2) | O(n) | |
357. Count Numbers with Unique Digits | [Go]({{< relref "/ChapterFour/0357.Count-Numbers-with-Unique-Digits.md" >}}) | Medium | O(1) | O(1) | |
628. Maximum Product of Three Numbers | [Go]({{< relref "/ChapterFour/0628.Maximum-Product-of-Three-Numbers.md" >}}) | Easy | O(n) | O(1) | |
885. Spiral Matrix III | [Go]({{< relref "/ChapterFour/0885.Spiral-Matrix-III.md" >}}) | Medium | O(n^2) | O(1) | |
891. Sum of Subsequence Widths | [Go]({{< relref "/ChapterFour/0891.Sum-of-Subsequence-Widths.md" >}}) | Hard | O(n log n) | O(1) | |
942. DI String Match | [Go]({{< relref "/ChapterFour/0942.DI-String-Match.md" >}}) | Easy | O(n) | O(1) | |
976. Largest Perimeter Triangle | [Go]({{< relref "/ChapterFour/0976.Largest-Perimeter-Triangle.md" >}}) | Easy | O(n log n) | O(log n) | |
996. Number of Squareful Arrays | [Go]({{< relref "/ChapterFour/0996.Number-of-Squareful-Arrays.md" >}}) | Hard | O(n log n) | O(n) | |
1025. Divisor Game | [Go]({{< relref "/ChapterFour/1025.Divisor-Game.md" >}}) | Easy | O(1) | O(1) | |
--------------------------------------- | --------------------------------- | -------------------------- | ----------------------- | ----------- | -------- |