How Students Can Nail the Programming Part of the Interview
In this guide
Even though many CS students have recently finished their education and the market is full of demand for young specialists, many students still can’t land their first job. It’s because they fail to show off their skills properly in programming interviews (apart from other common mistakes). Since they don’t have much real-world experience, students will benefit greatly from the tips below:
Tip #1. Ask Clarifying Questions
For example, in an interview for a Ruby developer position, you might be asked to implement a doubly linked list, given an empty Ruby file with some tests.
So, a doubly linked list, right? Perhaps you understand what it is, or perhaps you don’t. If not, ask. Not asking is the main mistake to avoid. If you don’t understand the problem or what they are asking for, keep asking questions until you do.
When you think you understand the problem, repeat your understanding back to the interviewer so they can correct or guide you.
The next thing to do is ask another question: “Can I use an array for the nodes?”
The interviewer said no, we couldn’t do that, which makes sense. Using an array would defeat the whole purpose of the exercise, which is to create mock “pointers” between nodes. It would be like delegating a college assignment to a service like PayForessay.net and then deciding to do it yourself.
So, no array. What should we do now? Here is tip #2:
Tip #2: Hard Coded -> Soft Coded -> Better Solution
When faced with a coding task, work on the problem in this order: hard coded -> soft coded -> better solution.
In our experience of surveying developers’ interviews, we found that most people try to do too much at once. When you do too much at once, everything seems easy until a small hiccup trips you up, and you’ve lost.
This is why you should take a structured approach: start with the simplest thing you can possibly do, and move forward from there.
So there is an empty Ruby class. How can we code something to move forward? We looked at the set of tests and saw that there is a function called head that returns the first node in the list.
So we created a head function, hard-coded the capital letter “A” as a string and ran the test. Done.
Is it extremely simple? Is it too obvious? Yes. But this code does two very important things:
- It lets me run the tests and check whether the solution works.
- It quickly gives us a small victory, which increases our confidence.
Don’t underestimate how much small iterative wins do for your confidence. They will carry you safely through to the end of the interview. It’s the same way assignment experts handle “write my essay” tasks: they create an outline and then expand and improve on it step by step. It’s a very safe and productive way to work.
Okay, we have a hard-coded string, ‘A’. Now, how can we make this soft coded? Well, what about turning the letter “A” into a hash?
That’s a little better. Instead of a one-character string, our “node” is now a hash with a value property. So we went from hard coded to soft coded. Now, how can we make it better? How about we add a head pointer to the list?
This approach may seem really slow, but we promise you, it works. Each of these changes takes a few seconds of small iterative coding, and they add up to a working solution in a short time.
Tip #3: Talk. Aloud
The whole time you are working on the coding task, you should speak out loud and talk through your thought process. Say everything you think. Everything. (Well, everything to do with programming.)
Here’s why: the interviewer needs to know how you think and how you come up with a solution. You can show them by sharing all your thoughts out loud. It’s even better if you use very simple terms. Describing your actions shows strong communication skills, which many interviewers value more than a high level of technical skill.
Every recruiter has been an interviewee themselves, so they know that even basic things can be difficult in a job interview. Good interviewers don’t care whether you’ve found a 100% foolproof solution. They just want to know that you have good critical thinking skills.
If you’ve never talked through your coding process before, you may want to practise, because it’s vital for doing well in an interview. You might even want to delegate less important assignments to paper help services so you can focus on nailing your interviews.
Why Is This All So Important?
Most interview questions focus on the lowest common denominator, meaning the most basic job requirements. The task or the questions are usually not meant to test the upper limit of your skill. The interview isn’t designed to draw out all the knowledge you have, so you have to show it off yourself.
These three tips will help you get through the technical part of the interview successfully. Students often fail this part not because their technical knowledge is lacking, but because they can’t present it properly.



