Solution of LeetCode provides documentation and code.
Code is easy to understand, documentation is pretty, and program performance is extreme.
Num | Problem | Solution | Time | Space | Difficulty |
---|---|---|---|---|---|
7 | Reverse Integer | Go | O(log(n)) |
O(1) |
Easy |
13 | Roman to Integer | Go | O(n) |
O(1) |
Easy |
14 | Longest Common Prefix | Go | O(n) |
O(n) |
Easy |
102 | Binary Tree Level Order Traversal | Go | O(n) |
O(n) |
Medium |
1338 | Reduce Array Size to The Half | Go | O(n) |
O(n) |
Medium |