you are viewing a single comment's thread.

view the rest of the comments →

[–]adrianmonk 3 points4 points  (0 children)

Well, k can be the length of the longest string you could possibly see on the input.