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.
After primary and secondary education – which were very broad – I had expected to learn in depth about something narrow when I went to university. A few years into a computer science programme, I was at first a little disappointed when I realised I had still only taken what could reasonably be called introductory courses in various sub-studies of computer science.
But as I got out into the workforce, I've noticed it's been useful to have tried a bit of everything and to have the vocabulary to talk about the basics in each of the sub-studies.