package
0.0.0-20241209140624-9fce2a725d55
Repository: https://github.com/elven9/my-leetcode.git
Documentation: pkg.go.dev
# README
Minimum Window Substring
Solution Idx | Time Complexity | Space Complexity | Comment |
---|---|---|---|
1 | O(m+n) | O(1) | Clean solution |
2 | O(m+n) | O(1) | Queue optimize ??, actually takes more time when data scale is small. Or not a sparse dataset |