logoalt Hacker News

liamYCyesterday at 10:36 PM1 replyview on HN

Point taken about the index potentially being really long. Why would the length be longer than the data? Don’t you need to find the right sequence?


Replies

gowldtoday at 12:45 AM

For a given length of data, considering all possible data of that length, it's impossible for the median length to be shorter than the data length. There aren't enough strings of that length that early in the data.