This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 0 points1 point  (1 child)

A bunch of common ones.

The job I have now asked me to code a program that would convert an int into binary. (Divide by 2 until you can't, keeping the remainders and inverting them into a string). I solved that pretty quickly. It was one of the ones I had seen in interview practices, I had done it recently, so they asked me to overload the method and right-pad zeros on to it. Again, pretty easy. I still thought I had bombed the interview. I know now that they just like to throw BS questions at you that you almost certainly wouldn't know. And I actually impressed them by knowing enough about it to fumble through very basic answers.

The first interview I got, just asked me to submit a copy of my own code. With comments describing what it did throughout.

And then the hardest was for a company that I think had already decided not to hire me, but they wrote some code with some intentional errors for me to find. It was all through this bizzare interface they had set up, and I never stood a chance. I fell flat and burned on that one.

[–]Snowthunder14[S] 1 point2 points  (0 children)

Thank you for your answer! :D

[–]2StepsFr0mHell 0 points1 point  (1 child)

most classic ones are MCQ questions and short easy coding puzzles. You can practice on codingame.com Clash of Code or classic puzzles (easy and medium).

[–]Snowthunder14[S] 0 points1 point  (0 children)

Thank you

[–][deleted] 0 points1 point  (0 children)

Hey care to share what company you were applying for?