Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Spelling correction
  • Loading branch information
nikalosa committed Jun 3, 2020
commit d2f4f052748c0104b12b3b71eb53b9fcf0ac2897
2 changes: 1 addition & 1 deletion strings/z_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

e.x. for string 'abab' for second index value would be 2

The main adventage of the algoirthm is that it's linear, using dynamic programming
The main adventage of the algorithm is that it's linear, using dynamic programming

Time Complexity: O(n) - where n is the length of the string

Expand Down