Unpopular opinions about competitive programming

Google
mGpa53

Go to company page Google

mGpa53
Aug 16, 2020 30 Comments

Sounds like most people argue skills for competitive programming are useless, and also dislike them.

I'd argue the opposite.

Competitive programming taught me:
* Work under time-pressure -> Think of creative ways -> Get things done quickly
* Convert ideas quickly into workable code, related to above
* Contrary to what many think, during contests I found myself having to write pretty modular code with a consistent style, especially in ICPC contests (you coordinate with teammates)
* Be wary of edge cases -> Too many "painful" experience of getting "Wrong answers" in contests, only due to a missing edge case, a subtle typo, etc

I was able to apply many of the above in realworld scenarios.

In fact, I found most of realworld problems in industry to be pretty boring - for perhaps 80%+ of problems pretty much there's a standard solution: you just find those, get buy-ins from teammates, then implement (or lead others to execute on it)

Doing competitive programming problems give me a break to work on something more interesting, more intellectually stimulating.

(I'm now participating in Facebook Hackercup Round 1. I probably wasn't able to solve all those problems completely but it has been a pretty satisfying experience for me to take a "break" from industry-style work.)

comments

Want to comment? LOG IN or SIGN UP
TOP 30 Comments
  • Uber
    HillClimb

    Go to company page Uber

    HillClimb
    Blind isn't for this lol.
    On a side note, competitive programming is useless.
    Aug 16, 2020 1
  • Walmart
    baklavas

    Go to company page Walmart

    PRE
    Google
    baklavas
    Had a friend back in school days who wanted to be doctor and never bothered to prepare for any of the engineering entrance tests ( back in India , you write diff entrance tests for medical and engineering) , he just had enrolled for engineering entrance test ie IIT-JEE and it was back in early 2000s, back in those days, IIT-JEE was toughest of exams to crack and it probably still is though the format has changed a lot.

    he stood in the top 5 of AIIMS entrance for medical but still remember the morning we had to go write IIT-JEE entrance, he wasn't even sure if he should go write, but then went with us to the exam center and when we got mains results finally, he was one of the top 200 in India ranking list, with hardly any prep. 2nd Best of the ranks in all of my batch back then and only other guy who was top 20 JEE mains list ended up coming to MIT mid way for his bachelor's because of his merit in one of the IITs he was in.

    I learned a very important thing seeing these two guys, they were extremely ordinary in everything but had exceptional ability of learning the actual theory and be able to apply it , when they learned theory, they learned the basics very well.
    For them solving problems was just waste of time , coz they would just solve it most of the times. Because they could apply the theory they learned easily.

    For the rest of us , solving problems in physics, mathematics was a way to learn the theory right and understand it better. I couldn't have understood my physics, mathematics as well as I did, if not for problems.

    Same with these coding competitions etc, they help some or maybe a big chunk of people learn better. Nothing good or bad about it. But if you learn the basics right and be able to apply what you learned to real life problems, these tests are not needed.
    Aug 16, 2020 3
    • Walmart
      baklavas

      Go to company page Walmart

      PRE
      Google
      baklavas
      Yes agree. But some are trained to learn right. watching Grant Sanderson's videos on YouTube, (I think I got the name right) check his vids on YouTube, especially the Fourier TF ones , you will be mind blown , learning anything from these guys was like watching those vids.
      They always told me, it's all about how well you understand it :-)

      These two guys were few of the tenured youngest profs in top US unis in USA sometime back and leading researchers.

      Most fun part in our classes back then was , our teachers would learn from these guys :-D if they got stuck.
      Aug 16, 2020
    • Microsoft / Eng
      धाकड़ छोरा

      Go to company page Microsoft Eng

      PRE
      Microsoft
      धाकड़ छोरा
      Physics, chemistry no but math yes need practice. For me physics, chemistry was very intuitive, I score 95% in jee physics. I always felt math dont have any theory, it more like art being creative.
      Aug 20, 2020
  • Apple
    yonq53

    Go to company page Apple

    yonq53
    It’s very useful! I played the contests during high school and got several medals. I never studied cs or anything relevant since university. When I start to find jobs, I found only cs can give me a job, and found the CS interview only asks Leetcode, a way easier version of ICPC or NOI. I put my medals title on the resume and then I got my first CS job without any preparation literally
    Aug 16, 2020 2
  • Google
    UNxN82

    Go to company page Google

    UNxN82
    Imagine if FB started interview people using FB Hackercup questions, pretty sure most of us as well as most of FB engineers wouldn't be able to pass.
    Aug 16, 2020 3
  • How stupid easy are interviews for you? I assume you can easily just rack up offers when applying for jobs. That’s the real benefit.
    Aug 21, 2020 1
    • Google
      mGpa53

      Go to company page Google

      mGpa53
      OP
      First I'm not among the strongest competitive programmers, but the experience did help.

      Also, behavioral questions require much different skills and experience.
      Aug 22, 2020