Longest common substring: Difference between revisions
m
→{{header|Arturo}}
m (→{{header|Phix}}: added syntax colouring the hard way) |
Drkameleon (talk | contribs) |
||
Line 363:
if x=y [
if? or? i=0 j=0 ->
else ->
if greatestLength <
greatestLength:
result: slice a (i-greatestLength)+1 i
]
|