Ordered words: Difference between revisions

Line 3,563:
asc1 = ascii(wordList[n][m])
asc2 = ascii(wordList[n][m+1])
if asc1 <= asc2
num = num + 1
ok
Line 3,575:
sortList = sort(sortList,2)
sortList = reverse(sortList)
endList = []
 
len = sortList[1][2]
Line 3,580 ⟶ 3,581:
for n = 1 to len(sortList)
if sortList[n][2] = len
see add(endList,sortList[n][1] + nl)
else
exit
ok
next
 
endList = sort(endList)
see endList
 
see nl + "done..." + nl
Line 3,592 ⟶ 3,596:
working...
 
abbott
accent
accept
access
accost
almost
bellow
billow
biopsy
chilly
choosy
choppy
effort
floppy
glossy
knotty
 
done...
2,468

edits