The Coding Interview: an approach to minimize anxiety and improve chances of success

The Dreaded Whiteboard

TLDR;

  1. Ask questions to define the problem space
  2. Implement a terrible solution
  3. Test that solution
  4. Optimize that solution

Note

Technical interviews are hard

Interview Reform

How did you do it?

A quick note about standardized tests

An abstraction for success

Step 1: Ask questions to define the problem space

  • It identified that Sorting and Regular expressions were not signals this question was measuring
  • It showed that I could define an interface that solved my problem
  • It saved me time from implementing unnecessary code

Step 2: Implement a terrible solution

Step 3: Test that solution

  • small valid input
  • large valid input
  • small invalid input
  • large invalid input
  • OMG WHO EVER THOUGHT THIS WOULD BE INPUT

Step 4: Optimize that solution

Bringing it all together

--

--

--

@openjsf && @nodejs | Torontonian at ❤️ | Opinions are potentially wrong, but definitely my own. | He / Him

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How To Prepare for Work After Returning From Vacation

A business photo of making appointments

Job Alerts via LinkedIn

Goals for the internship

In-Team Communication in Foreign Language

Petyr Baelish on product strategy and political maneuvering

As a Boss, These Are the Bad Behaviors You Need to Avoid

Career failures: their causes, effects, and how to make best use of them

Illustration of a career failure

What Does a Community Need? It’s Time to Invest in Hybrid

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Myles Borins

Myles Borins

@openjsf && @nodejs | Torontonian at ❤️ | Opinions are potentially wrong, but definitely my own. | He / Him

More from Medium

What makes Life Fulfilling.

How To Learn Anything at 50+

Understanding How Lettuce Works

GREEDY ALGORITHMS