Welcome to LeetCode Solutions, a comprehensive repository containing solutions to LeetCode problems and exercises. Each solution is optimized for runtime performance and includes 100% test coverage.
- ✅ All problems solved with 100% test coverage.
- 💡 Solutions optimized for runtime performance.
To ensure the solutions are correct, the repository includes a comprehensive test suite. Run the tests using the following command:
go test ./... -v| No. | Title | Solution | Acceptance | Optimized |
|---|---|---|---|---|
| 1. | Two Sum | Go | 54.5% | ✅ |
| 9. | Palindrome Number | Go | 58.2% | ✅ |
| 13. | Roman to Integer | Go | 63.6% | ✅ |
| 14. | Longest Common Prefix | Go | 44.4% | ✅ |
| 20. | Valid Parentheses | Go | 41.5% | ✅ |
| 21. | Merge Two Sorted Lists | Go | 65.9% | ✅ |
| 26. | Remove Duplicates from Sorted Array | Go | 58.7% | ✅ |
| 27. | Remove Element | Go | 59.0% | ✅ |
| 28. | Find the Index of the First Occurrence in a String | Go | 44.1% | ✅ |
| 29. | Search Insert Position | Go | 47.9% | ✅ |
For questions or suggestions, feel free to reach out:
- LinkedIn: @hireza
- Email: say@hireza.top