Releases: ecgan/leetcode
Fix for #1163 Last Substring in Lexicographical Order
This release contains fix for #1163 Last Substring in Lexicographical Order. Previously the solution is not properly optimized and may give O(n^2) time complexity in certain situations. With this fix, time complexity is O(n).
Credit goes to SnowCat29 for pointing out the issue in the discussion here.
New Solution for Last Substring in Lexicographical Order
This release contains solution and explanation for the LeetCode #1163 Hard problem, Last Substring in Lexicographical Order, which is also part of Weekly Contest 150. The solution has O(n) time complexity and O(1) space complexity.
New Solution for Weekly Contest 151
This release contains a solution for LeetCode Weekly Contest 151:
New Solutions for LeetCode Biweekly Contest 7
This release contains two solutions for the LeetCode Biweekly Contest 7:
- #1165 Single-Row Keyboard
- #1167 Minimum Cost to Connect Sticks
This also contains a working solution for #1163 Last Substring in Lexicographical Order.
New Solution, Travis CI, 100% code coverage
This release contains multiple features:
- Solution for LeetCode #35 Search Insert Position
- Added more tests and achieved 100% code coverage.
- Integration with Travis CI and Codecov
New Solutions for LeetCode Weekly Contest 150
This release contains three solutions for the LeetCode Weekly Contest 150, i.e.:
Solution for Binary Tree Coloring Game
This release contains the solution for LeetCode #1145 Binary Tree Coloring Game.
Also added leettree package as devDependency to facilitate binary tree testing.
New Solution for Weekly Contest 149
This release contains one solution for the LeetCode Weekly Contest 149:
New Solutions from Biweekly Contest 6
This release contains solutions for two questions from Biweekly Contest 6, namely:
New Solution for Decrease Elements To Make Array Zigzag
This release contains solution for Decrease Elements To Make Array Zigzag which is part of the LeetCode Weekly Contest 148.