Talk:Longest common prefix: Difference between revisions

Content added Content deleted
m (→‎Empty string: thanks)
Line 27: Line 27:


:::You could do that yourself. Just change the task description and add [[Template:Update]] to the existing implementations. (Note that this isn't my task - I was only answering based on the definition of the task. It should be pretty clear that the longest common prefix for a set of strings which includes the empty string has to be the empty string, because the empty string is the only valid prefix for the empty string...) --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 07:38, 25 March 2015 (UTC)
:::You could do that yourself. Just change the task description and add [[Template:Update]] to the existing implementations. (Note that this isn't my task - I was only answering based on the definition of the task. It should be pretty clear that the longest common prefix for a set of strings which includes the empty string has to be the empty string, because the empty string is the only valid prefix for the empty string...) --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 07:38, 25 March 2015 (UTC)

::::I'll leave that to the task's author. Thanks for the clarification --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 08:24, 25 March 2015 (UTC)