Go solutions for LeetCode problems with comprehensive test coverage.
go test ./...
- 1. Two Sum
- 3. Longest Substring Without Repeating Characters
- 11. Container With Most Water
- 13. Roman to Integer
- 14. Longest Common Prefix
- 26. Remove Duplicates from Sorted Array
- 27. Remove Element
- 28. Find the Index of the First Occurrence in a String
- 55. Jump Game
- 58. Length of Last Word
- 80. Remove Duplicates from Sorted Array II
- 88. Merge Sorted Array
- 121. Best Time to Buy and Sell Stock
- 122. Best Time to Buy and Sell Stock II
- 125. Valid Palindrome
- 167. Two Sum II - Input Array Is Sorted
- 169. Majority Element
- 189. Rotate Array
- 380. Insert Delete GetRandom O(1)
- 383. Ransom Note
- 392. Is Subsequence