Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That would indeed be linear time, but he doesn't make that suggestion as far as I can see.


It's in the red inked code review image and it's in his rewrite as "source = source[:-2]"




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: