We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Sliding window would not help, already saw the solution, maybe it's a math test, but unfortunately I'm not a genius, if you can refactor my code, please help me.. the code only pass some case.
How Many Substrings?
You are viewing a single comment's thread. Return to all comments →
Sliding window would not help, already saw the solution, maybe it's a math test, but unfortunately I'm not a genius, if you can refactor my code, please help me.. the code only pass some case.