I did some amount of competitive programming during my second-year internship. I never did it earnestly. The goal wasn’t to become a top competitive programmer. The goal was to nail the coding interviews of top tech companies. Competitive programming was just the means by which I could reach that goal.