6 ms·
That would indeed be linear time, but he doesn't make that suggestion as far as I can see.
by SekstiNi 4y ago
That would indeed be linear time, but he doesn't make that suggestion as far as I can see.
- gfd 4y agoIt's in the red inked code review image and it's in his rewrite as "source = source[:-2]"