My Coding Assessment Experience — A Small Mistake, Big Lesson

I knew the logic. I just couldn't code it.

A company recently came to our college for placements.

The test had 2 questions — one Medium and one Hard.

I solved the logic for the Medium, but got stuck while taking the input in Java. The input format was something I hadn't worked with before.

Then the Hard question had a similar input structure.

Same problem again.

The funny part?

I could figure out the logic for both questions, but couldn't properly implement them.

I didn't get selected. A lot of students did.

Honestly, this test taught me something:

Knowing the logic is only half the job. You also need to be able to turn it into code.

Definitely something I'm working on now.

Anyone else faced this in a coding assessment?

Comments (4)