3 ms·
Or: s = - inf ... if p > s: s = p longest_to_end_start_token = i And then maybe you could sort all tokens by their length (if you wanted to
by onesphere 3y ago
Or:
s = - inf
...
if p > s:
s = p
longest_to_end_start_token = i
And then maybe you could sort all tokens by their length (if you wanted to find a length of sub-x).