logoalt Hacker News

mananaysiempretoday at 1:11 PM1 replyview on HN

> I'm pretty sure that should say "the leftmost start paired with the leftmost end".

I’m pretty sure it shouldn’t, that would give you the leftmost shortest match instead of leftmost longest.


Replies

masfuertetoday at 1:18 PM

As originally written, doesn't it go from the start of the first match to the end of the last match? I feel like I'm missing something.

show 2 replies