Skip to content

Latest commit

 

History

History

interview_questions

Introduction

This section has solutions to popular interview questions with a full break down on the solution. A challenge to the reader is to see if you can answer the questions in a way that is either shorter or easier to read.

Topics

  • Fizz buzz A test that makes sure you can apply simple rules and cover all cases
  • Largest common prefix Consider what it means to have a common prefix and carfully enumerate the collection and individual characters of each word
  • Reverse linked list Reason about interactions with a data structure and carefully manipulate how the data is organized
  • Reverse string Understand how to split and join on delimiters
  • Swap numbers Write a few cryptic calculations to placate an interviewer trying to trick you
  • Two sum Simplify the problem space to find two numbers in a list that add up to a given number
  • Valid parens Check for valid brackets sequences by tracking nesting using a stack

Back to start