Skip to content

Commit f73b65a

Browse files
✨ feat(data): Add inputs from Knuth-Morris-Pratt paper.
In "Selected Papers on Design of Algorithms".
1 parent b0f70c7 commit f73b65a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/data.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,15 @@ const data = [
175175
},
176176
],
177177
},
178+
{
179+
string: 'babcbabcabcaabcabcabcacabc',
180+
patterns: [
181+
{
182+
pattern: 'abcabcacab',
183+
hits: [15],
184+
},
185+
],
186+
},
178187
];
179188

180189
export default data;

0 commit comments

Comments
 (0)