package
0.0.0-20241209140624-9fce2a725d55
Repository: https://github.com/elven9/my-leetcode.git
Documentation: pkg.go.dev
# README
Numbers With Same Consecutive Differences
Solution Idx | Time Complexity | Space Complexity | Comment |
---|---|---|---|
1 | O(10^(n-1)) | O(1) | TLE, Lot's of unncessary calculation |
2 | recur | O(1) | Recursive version |