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

The visual is directly from here (I recommend you give it a read if you want to grasp the full intuition on how a Fenwick tree works (page 97)): https://cses.fi/book/book.pdf

I should have included the full visuals which are included there and I can see your point on why people would get confused by that visual - so I'll make a note to include the full image when I have more time. Thank you for the feedback.



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

Search: