package
0.0.0-20241209140624-9fce2a725d55
Repository: https://github.com/elven9/my-leetcode.git
Documentation: pkg.go.dev
# README
Remove Nth Node From End of List
Solution Idx | Time Complexity | Space Complexity | Comment |
---|---|---|---|
1 | O(n) | O(1) | Scan list two time, naive solution |
2 (Not implement) | O(n) | O(n) | Scan line once and record checkpoint |