CODE TESTING INTERVIEWS, BE PREPARED!


For many people the concept of producing working code in an interview environment is daunting - especially when every step is monitored, discussed and scrutinised by a potential employer.

Yet despite Google writing off brainteasers, and David Heinemeier Hansson (creator of the Ruby on Rails coding framework) starting a protest against ‘whiteboard’ interview practices in 2017 - we’re still commonly seeing tests used at interview, on platforms like Codility and Hackerrank; with Codility (at time of writing) reporting 5,791,556 assessments alongside significant customer growth.

We spoke with Caspian One’s UK FinTech team, and Danielle Gray Manager of FinTech Canada, on the subject of code testing. It was reported that with our UK clients specifically, there has been a notable increase in code testing - whether that be tests through a software platform, requests to find problems in broken code, or being asked to create code face-to-face.

This is mirrored by feedback from Danielle, who notes that with our Canadian and US clients, code testing at interview is on the rise; becoming almost a standardised part of the hiring process. In this article our goal is to prepare you for these tests - with advice, best practice, resources and some practical exercise you can action.


Starting from the beginning… What are code tests?

The most common explanation is also the simplest. Coding assessments are designed to add more efficiency to recruitment by discovering the capabilities of a candidate early in the process. Tests are typically seen in the first interview stages where implemented - but can also play a part in pre-interview candidate screening. For example, if a Java developer vacancy receives 100+ applicants then a test may be shared, with results considered when determining who progresses to interview.

If you were a comic book artist applying to work at Marvel Comics, you’d expect to be asked for a portfolio that demonstrated your artistic skills. No restaurateur would hire a chef without tasting their food. The same logic applies here.

What should you expect?

There are three types of testing methods most often seen. One is a problem solving online assessment, usually multi-choice in its structure, and self administered with no supervision. We use this testing style at Caspian One with our candidates. It’s also the go-to option for most employers.

Questions and tasks presented are predominantly subject and/or language specific, but generalist brainteasers are also incorporated - assessing not just a persons technical strengths, but also factors like how a problem is approached, time management and speed.

It’s important to note that ‘change the industry’ coding isn’t being asked for in these tests. The intent is to understand your capabilities in the real-world, so scenarios will reflect real life expectations. They want to understand not just your skills at coding, but also how you approach problems and the path taken to reach an answer.

“Early on in the interview process, we set candidates up with our first test...Basically, we need to see if the candidate can write any code at all. You’d be surprised how many candidates fall short when it’s time to put the cursor to the editor. For people with any sort of decent programming chops, it will take a little effort but shouldn’t be super challenging. Consider it a “price of admission” test. The work on this test has no practical application beyond showing us if you can write any code. If someone’s banging their head on the desk and can’t get through it, there probably isn’t a relationship in store for us. Most reasonable coders we’ve given this to have gotten through in about 20 minutes.” - Atlassian (How and why we use coding challenges to interview developers)

The second method is a ‘build’ project. These can vary in requirement, but usually ask a candidate to create an application (or similar as suited to the position) to certain standards within a specified timeframe. If requested we typically see these tests in the latter stages of an application, and in most cases these projects are requested as homework (which can bring its own issues). For example, we’ve recent had a group of candidates asked to develop a calculator app.

As with the online tests, clients are looking for more than just technical skills when assessing builds. In the calculator example, some candidates returned basic calculator apps that could add, subtract etc… whereas others produced scientific calculators in half the time, demonstrating both skill and commitment to the vacancy. Guess which one’s progressed.

Third is the ‘whiteboard’ interview. This live-action style of testing sees a candidate presented with a - you guessed it - whiteboard, along with a coding problem. They are then asked to not only solve the problem, but also walkthrough the thinking and steps taken to reach the solution.

“The problem may take up to an hour to solve, and the entire interview may last a day. Still, if you’re going to work with these people, then you might as well get to know them, right? What you have to keep in mind is that while it might be called a code or whiteboard test, it is not so much a test of your code as a test of your problem solving abilities.” - Skillcrush.com (Everything you need to know to rock your next whiteboard test)

We’re also witnessing more uptake in collaborative online coding that mirrors the ‘whiteboard’ experience; presenting someone with a coding problem via an online portal which the interviewer can then monitor, question, engage with etc. For example see Codility ‘CodeLive’.

There are other variations of the ‘code test’ but what’s true of them all, is they look for more than technical capabilities in candidates. Companies need to know you can code, but they also need to understand ‘how’ you code and ‘how’ you tackle real world problems.

What if I refuse?

You are entirely able to refuse. That is your choice. It’s true that a number of people we support are not happy having to ‘prove’ their abilities, with numerous arguments made for why they shouldn’t have to be tested. However. The reality is that companies define their hiring plans, and if they’ve determined there is a need to test candidates, and you refuse... the likelihood is you’ll be removed from the process. The choice… is yours.

How can you prepare in advance?

Practice. Practice. Practice. Whether you’ve been coding since the release of BASIC in 1964 or you are a Senior JavaScript Engineer at a trading firm, block out a few hours, put the filter coffee machine on and take some practice tests.

Best case scenario, you ace each and every one and feel really confident pre-interview.

Worst case scenario, you realise there are holes in your knowledge, you’re too slow and solving problems or you find coding in a test environment difficult. The good news is you now have time to correct these pre-interview. Either way it’s win:win.

Take a look at:

Codility - https://app.codility.com/programmers/

Hackerrank - https://www.hackerrank.com/signup?h_r=home&h_l=body_top_center_button

Coderbyte - https://coderbyte.com/

LeetCode - https://leetcode.com/

GeeksforGeeks - https://www.geeksforgeeks.org/

Careercup - https://careercup.com/

Codementor - https://www.codementor.io/


Plus resources such as;

https://simpleprogrammer.com/programming-interview-questions/

https://medium.freecodecamp.org/coding-interviews-for-dummies-5e048933b82b

https://club.ministryoftesting.com/t/does-anyone-do-any-practical-interview-tests/1161

https://www.softwaretestinghelp.com/some-interesting-software-testing-interview-questions/

https://www.guru99.com/software-testing-interview-questions.html

https://geektastic.com/coding-tests-for-interviews
https://www.guru99.com/java-tutorial.html

Also take a look on Amazon for 2 minutes and you’ll find a wealth of books and materials written to support code test interviews, for example: https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dstripbooks&field-keywords=code+test+interview&rh=n%3A283155%2Ck%3Acode+test+interview

Caspian One actively support their candidates through all hiring steps, including tests - with practical advice available as required. For more information or to discuss our latest vacancies, contact us.


For reference:
1.https://qz.com/96206/google-admits-those-infamous-brainteasers-were-completely-useless-for-hiring/
2.https://theoutline.com/post/1166/programmers-are-confessing-their-coding-sins-to-protest-a-broken-job-interview-process?zd=1&zi=qezn4t4x
3.https://www.codility.com/assess
4.https://www.marketwatch.com/press-release/tech-recruiting-platform-codility-achieves-record-customer-growth-up-more-than-30-percent-quarter-over-quarter-2018-05-16
5.https://www.atlassian.com/blog/statuspage/coding-challenges
6.https://qz.com/work/1254663/job-interviews-for-programmers-now-often-come-with-days-of-unpaid-homework/
7.https://skillcrush.com/2016/03/29/rock-your-next-whiteboard-test/


Angle Up
Previous
Previous

INTERVIEW GUIDE - PART ONE

Next
Next

DONATING LAPTOPS TO DIVERSE ABILITIES - DISABILITY CHARITY