4 ms·
I think this is related to the “teleporting turtle” algorithm. Unless I misunderstand your suggestion, you’ll need a mechanism for checking a short length, then
by picks_at_nits 12y ago
I think this is related to the “teleporting turtle” algorithm. Unless I misunderstand your suggestion, you’ll need a mechanism for checking a short length, then moving forward and checking a longer length (usually 2x) then moving forward and checking a longer length (4x the original) and so forth.