Seriously, been working as a software developer for 9 years now and never passed a single coding test.

The jobs I got were always the ones giving me weekend projects or just no coding test at all.

I have a job opportunity that looks exciting but they sent me this coding test link and I know I’m gonna fail for sure. Any tips aside from the obvious (practicing in advance on leetcode etc)?

    • magic_lobster_party
      link
      fedilink
      48 months ago

      Yeah, those kind of questions are silly and don’t reflect problems that happen in real life.

      My advice when you get a question similar to this is to have a pen and paper at hand. Draw a few easy examples and find a solve those systematically by hand. From there you go to harder and harder examples and adapt your system for those examples. Try to find examples where your system fails.

      Once you’re confident you’ve found all corner cases you can start to write down the algorithm.

      That’s the advice I can give. Hope it helps!

      • @tomatolOP
        link
        18 months ago

        Definitely helpful! Thanks

        • magic_lobster_party
          link
          fedilink
          28 months ago

          When I think about it, what I just wrote is basically test driven development, but by hand on a piece of paper.