Skip to the guide

Three formats: the design talk, machine coding and concurrency coding

BeginnerConcept6 pages

Low-level design is asked in three formats. In a design talk you design the classes and write some of the code, in under an hour. In machine coding you build a small program in about 90 minutes to 2 hours, and it has to run. In concurrency coding, two threads, two paths of work running at the same time, share one object, and you make that safe. All three score the same skills, but each changes what you do in the first fifteen minutes, so find out which one you face.

A football trial

A young player at a club trial can be tested in three ways. In the first, the coach stands by a tactics board and asks how she would set up the team. She moves the magnets, explains why each player stands where they do, and shows one move from defence to goal. In the second, she plays a full 90-minute match, and the scout watches what actually happens on the pitch. A plan that looked good on the board counts for nothing if the team never gets the ball forward. In the third, a drill, two players chase the same ball, and they must call "mine!" before they run, or they collide.

You are the player, and the coach and the scout are your interviewer. The skills are the same in all three tests: reading the game, passing and positioning. Those are the five scored areas of the round. The tactics board is the design talk, where the magnets are classes and the move from defence to goal is one method call travelling through them. The full match is machine coding, where the program must run at the final whistle, which is the demo. The drill is concurrency coding. The two players are threads, the ball is an object they both change, and calling "mine!" first is taking a lock, a guard that lets only one thread in at a time.