-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ref: improve work break * ref: refactor implementation - use `word_dict` as `&[&str]` to pass a borrowed slice without needing to own the vector - adjust size memoization vector to `s.len() + 1`, which allows us to mark the `start == s.len()` case explicitly in the vector. * feat(tests): update tests with edge cases
- Loading branch information
Showing
1 changed file
with
55 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters