11 Essential Coding Interview Questions

Learn 3 handy problem solving techniques. Get 11 hand-picked problems. Get ready for your next coding interview!

Last updated 2022-01-10 | 4.6

- Learn what a coding interview is like
- Learn 3 problem solving techniques you'll be able to use in your next coding interview!
- Go through 11 of the most essential coding interview questions
- coding exercises and answers!

What you'll learn

Learn what a coding interview is like
Learn 3 problem solving techniques you'll be able to use in your next coding interview!
Go through 11 of the most essential coding interview questions
coding exercises and answers!
Overall
feel more confident and be ready for your next coding interview

* Requirements

* You should be familiar with at least one C-like programming language (could be Java
* Python
* C++
* Ruby
* JavaScript
* etc.)
* You should be familiar with basic data structures such as arrays
* hash tables
* linked lists
* trees
* and graphs
* You should be familiar with the Big O notation

Description

As you prepare for your next coding interview, have you ever thought:

  • "I wish someone could just walk me through these problems and explain what’s going on."
  • "I wish there was a preselected set of the most important coding interview problems so I can practice them easily."

If so, this course is for you!


In this course:

  • First, I’m going to give you a few problem solving techniques you’ll be able to use right away in your next coding interview.
  • Then, I’m going to walk you through the 11 essential coding interview questions and their answers.
  • I’ve picked these particular questions because they are the types of questions that are asked most often in programming interviews.
  • I’m going to cover problems that use concepts such as arrays, strings, two-dimensional arrays, linked lists and trees.
  • You’ll get a coding exercise in Python and Java for each problem, so you can get feedback on your solution right away.
  • If you want to use any other language to follow this course, that’s fine too! Just remember to run your solution on your computer to make sure it works.

This course is intended for intermediate to advanced learners who are preparing for their software engineer programming interviews.

So, I’m going to assume that you’re already familiar with concepts such as:

  • Two dimensional arrays (which are simply arrays of arrays)
  • Breadth first search and depth first search
  • Linked lists and trees

If you think you’re ready for this course, watch the preview videos and see if you can solve those problems!

Who this course is for:

  • Anyone who is currently preparing for coding interviews / programming interviews
  • Anyone who wants to improve their problem solving / coding skills in general (coding interviews are a good way to practice these skills)

Course content

6 sections • 57 lectures

Introduction Preview 01:23

What Is a Typical Coding Interview Like? Preview 02:26

Problem Solving Technique #1 for Coding Interviews Preview 05:27

Problem Solving Technique #2 for Coding Interviews Preview 03:06

Problem Solving Technique #3 for Coding Interviews Preview 02:17

Most Frequently Occurring Item in an Array (Difficulty = *) Preview 01:06

Most Frequently Occurring Item in an Array (Python)

Most Frequently Occurring Item in an Array (Java)

Most Frequently Occurring Item in an Array (Solution) Preview 03:39

Common Elements in Two Sorted Arrays (Difficulty = **) Preview 00:53

Common Elements in Two Sorted Arrays (Python)

Common Elements in Two Sorted Arrays (Java)

Common Elements in Two Sorted Arrays (Solution) Preview 03:37

Is One Array a Rotation of Another? (Difficulty = **) Preview 01:06

Is One Array a Rotation of Another? (Python)

Is One Array a Rotation of Another? (Java)

Is One Array a Rotation of Another? (Solution) Preview 04:10

Non-Repeating Character (Difficulty = **) Preview 00:47

Non-Repeating Character (Python)

Non-Repeating Character (Java)

Non-Repeating Character (Solution) Preview 02:48

One Away Strings (Difficulty = ***) Preview 02:17

One Away Strings (Python)

One Away Strings (Java)

One Away Strings (Solution) Preview 03:05

One Away Strings (Solution in Pseudocode) Preview 05:31

Assign Numbers in Minesweeper (Difficulty = **) Preview 02:10

Assign Numbers in Minesweeper (Python)

Assign Numbers in Minesweeper (Java)

Assign Numbers in Minesweeper (Solution) Preview 04:46

Find Where to Expand in Minesweeper (Difficulty = ***) Preview 03:35

Find Where to Expand in Minesweeper (Python)

Find Where to Expand in Minesweeper (Java)

Find Where to Expand in Minesweeper (Solution) Preview 10:52

Find Where to Expand in Minesweeper (Solution in Pseudocode) Preview 04:23

Rotating 2D Array (Difficulty = ***) Preview 01:19

Rotating a 2D Array by 90 Degrees (Python)

Rotating a 2D Array by 90 Degrees (Java)

Rotating 2D Array (Out-of-Place Solution) Preview 05:20

Rotating 2D Array (In-Place Solution) Preview 07:05

Rotating 2D Array (In-Place Solution in Pseudocode) Preview 05:19

N-th Element of a Linked List (Difficulty = **) Preview 02:29

N-th Element of a Linked List (Python)

N-th Element of a Linked List (Java)

N-th Element of a Linked List (Solution) Preview 05:07

Is This a Binary Search Tree? (Difficulty = **) Preview 03:08

Is This a Binary Search Tree? (Python)

Is This a Binary Search Tree? (Java)

Is This a Binary Search Tree? (Solution) Preview 02:43

Is This a Binary Search Tree? (Solution in Pseudocode) Preview 05:05

Lowest Common Ancestor (Difficulty = ***) Preview 03:24

Lowest Common Ancestor (Python)

Lowest Common Ancestor (Java)

Lowest Common Ancestor (Solution) Preview 07:01

Lowest Common Ancestor (Solution in Pseudocode) Preview 07:41

Conclusion Preview 00:26

Have any extra problems I should solve? Preview 00:37