Remix.run Logo
▲ maccard an hour ago

I did competitive programming, and was terrible at it. (I liked it though). A few years after I graduated I noticed that I had a “tendency” to map problems that we had down to known algorithms that are just not intuitive. Prefix sum comes up all the time, like probably once a week in my work, and the code is quicker and just as easy to write as the naive version.