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

Kadane's algorithm (whose name sounds cooler than what it does) doesn't do any masks, it basically just keeps extending the window until the sum becomes negative at which point it starts a new window.


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

Search: