Longest common prefix: Difference between revisions

Content deleted Content added
Drkameleon (talk | contribs)
Drkameleon (talk | contribs)
Line 174: Line 174:
thisLetter: ""
thisLetter: ""
loop list @(word){
loop list @(word){
if idx=[size word] { return ret }
if idx=[size word] -> return ret
if thisLetter="" { thisLetter: [chars word].[idx] }
if thisLetter="" -> thisLetter: [chars word].[idx]
if thisLetter!=[chars word].[idx] { return ret }
if thisLetter!=[chars word].[idx] -> return ret


}
}