courses/mission-interview/jon-skeet-creating-a-c-linter
● videoPractice

Jon Skeet: Creating a C# Linter

Free for everyone
This video is free for everyone

Watch the whole thing, no account needed. If it clicks, grab Coding Interview Bootcamp for lifetime access to every lesson.

SECTION
Practice
NEXT UP
Jon Skeet: Falling From Great Heights
COURSE
Coding Interview Bootcamp
17 lessons
About this lesson

We're going to start Jon off with a bit of a softball, asking him to create a linter for C#. Here’s the question:

Create a linter for C# which ensures that code structures are balanced. Specifically, code blocks starting with (, { and [.

Normally this question would take a candidate about 30 minutes, even if they haven't studied their interview questions.

Code is just a string and we're checking to make sure that certain characters have their counterparts. How would you solve this? Think about it for a minute and see if your ideas match Jon's.

We'll be using C# for this and the rest of the questions.