Limited time · 90% off Premium Membership - claim $199 deal →
Mammoth Club All levels 11 sections 40 lectures

Algorithms, Data Structures and Time Complexity in C++

Refresh your C++ knowledge in the 10 most popular topics asked at the coding interview!

01
Skill level
All levels
02
Sections
11
03
Lectures
40
04
Instructor
John Bura
What's inside

This course includes.

11
Sections
40
Lectures
40
Resources
Certificate of completion
Included
Mobile and desktop access
Included
AI learning assistance
Included
Unlock all courses with our Subscription Bundle! Get unlimited access to entire course library, books and assets. Learn more and subscribe today!
Course content

Curriculum & lectures.

11 sections · 40 lectures
+ Section 0 Introduction 3 lectures
01 Course Overview Locked
02. Fizzbuzz Locked
03 Types Of Time Complexity Locked
+ Section 1 String and Array Interview Questions 3 lectures
01 Reverse Words In A String Locked
02 Rotate Array Locked
03 Isomorphic Strings Locked
+ Section 2 Matrix Interview Questions 3 lectures
01 Set Matrix Ones Locked
03 Number Of Islands Locked
02 Spiral Matrix C++ Locked
+ Section 3 Linked List Interview Questions 3 lectures
03 Reverse A Linked List Locked
01 Implement A Stack Using An Array Locked
02 Add Two Numbers As Reversed Linked Lists Locked
+ Section 4 Binary Tree Interview Questions 4 lectures
02 Preorder Traversal Locked
03 Postorder Traversal Locked
01 Inorder Traversal Locked
04 Binary Tree Maximum Path Sum Locked
+ Section 5 Graph Interview Questions 3 lectures
03 Postorder Traversal Locked
02 Build A Graph C++ Locked
01 Clone An Undirected Graph C++ Locked
+ Section 6 Sorting Interview Questions 6 lectures
04 Insertion Sort Algorithm Locked
03 Selection Sort Algorithm Locked
02 Bubble Sort Algorithm Locked
06 Merge Sort Algorithm Locked
05 Quicksort Algorithm Locked
07 Time Complexity Of Different Sorting Algorithms Locked
+ Section 7 Dynamic Programming 3 lectures
01 Coin Change Locked
03 Distinct Subsequences Locked
02 Edit Distance Locked
+ Section 8 Bit Manipulation Interview Questions 6 lectures
01 Bitwise And Shift Operators Locked
03 Number Of 1 Bits Locked
02 Single Number Locked
05 Reverse Bits Locked
04 Sum Of Two Integers Locked
06 Bitwise And Of A Range Locked
+ Section 9 Combinations and Permutations Interview Questions 3 lectures
01 Permutations Locked
02 Letter Combinations Of A Phone Number Locked
03 Factor Combinations Locked
+ Section 10 Math Interview Questions 3 lectures
01 Reverse Integer Locked
03 Excel Sheet Column Number Locked
02 Palindrome Number Locked
Description

About this course.

Algorithms & Data Structures - Ultimate Coding Interview Prep

In The Ultimate C++ Interview Questions Bootcamp, you'll learn the best way to answer an interview question, look at the most commonly asked questions, and analyze time complexity of various algorithms.

You'll learn through hands-on coding examples and learn to solve problems quickly.

Refresh your C++ knowledge and solve new problems with the most common beginner interview questions asked by FANG companies.

Interview Question Solutions and Time Complexity

Learn the most commonly asked questions by the likes of Facebook, Google, Amazon and Spotify for beginners.

Preparing for the C++ interview is hard. You need to understand not only concepts but also be able to articulate your thought process as you plan and execute a solution.

Requirements

  • Experience with object-oriented programming fundamentals. If you need experience, enroll in Mammoth Interactive's C++ course: The Complete 2020 Unreal Masterclass: Build 2D and 3D Games.
  • No IDE necessary. We'll run C++ in the browser with Repl.

COURSE BREAKDOWN

Section 0: Introduction to Interview Questions

  • Course Overview
  • FizzBuzz: Print the numbers from 1 to 100 and for multiples of '3' print "Fizz" instead of the number and for the multiples of '5' print "Buzz".
  • Types of Time Complexity: Learn the types of time complexity in Big-O Notation in order of horrible to good.

Section 1: String/Array Interview Questions

  • 01 Reverse Words in a String: Given an input string, reverse the string word by word.
  • 02 Rotate Array: Rotate an array of n elements to the left by k steps.
  • 03 Isomorphic Strings: Given two strings a and b, determine if they are isomorphic.
  • 04 Kth Largest Element in an Array: Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.

Section 2: Matrix Interview Questions

  • 01 Set Matrix Zeroes: Given a 2D matrix, if an element is 0, set its entire row and column to 0. Do it in place.
  • 02 Spiral Matrix: Given a 2D matrix, return all elements of the matrix in spiral order.
  • 03 Number of Islands: Given a 2D grid map of 1s (land) and 0s (water), count the number of islands.

Section 3: Linked List Interview Questions

  • 01 Implement a Stack Using an Array in C++: Implement a stack using an array.
  • 02 Add Two Numbers: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.
  • 03 Reverse a Linked List: Reverse a singly linked list.

Section 4: Tree Interview Questions

  • 01 Inorder Traversal: Perform inorder traversal on a binary tree.
  • 02 Preorder Traversal: Perform inorder traversal on a binary tree.
  • 03 Postorder Traversal: Perform inorder traversal on a binary tree.
  • 04 Binary Tree Maximum Path Sum: Given a binary tree, find the maximum path sum.

Section 5: Graph Interview Questions

  • 01 Clone an Undirected Graph: Each node in the graph contains a label and a list of its neighbors.

Section 6: Sorting and Time Complexity

  • 01 Bubble Sort Algorithm: Sort a list with bubble sort.
  • 02 Selection Sort Algorithm: Sort a list with selection sort.
  • 03 Insertion Sort Algorithm: Sort a list with insertion sort.
  • 04 Quick Sort Algorithm: Sort a list with Quick Sort.
  • 05 Merge Sort Algorithm: Sort a list with Merge Sort.
  • 06 Time Complexity of Different Sorting Algorithms

Section 7 Dynamic Programming Interview Questions

  • 01 Coin Change: You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount.
  • 02 Edit Distance: Find the edit distance between two strings.
  • 03 Distinct Subsequences: Given a string S and a string T, count the number of distinct subsequences of T in S.
  • 04 Maximum Sum Subarray: Find the sum of contiguous subarray within a one-dimensional array of numbers which has the largest sum

Section 8 Bit Manipulation Interview Questions

  • 01 Bitwise and Shift Operators: Manipulate bits and shift bits to change values.
  • 02 Single Number: Given an array of integers, every element appears twice except for one. Find that single one.
  • 03 Sum of Two Integers: Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.
  • 04 Number of 1 Bits: Take an unsigned integer and return the number of ’1' bits it has (also known as the Hamming weight.)
  • 05 Reverse Bits: Reverse the bits of a given 32 bit unsigned integer.
  • 06 Bitwise AND of a Range: Given two non-negative long integers, a and b and given a <= b, find the bitwise AND of all integers from a and b.

Section 9 Combinations and Permutations Interview Questions

  • 01 Permutations: Print all permutations of a given string.
  • 02 Distinct Permutations of a String: Print all distinct permutations of a string that contains duplicates.
  • 03 Letter Combinations of a Phone Number: Given a digit string, return all possible letter combinations that the number could represent on a phone board.
  • 04 Factor Combination: Return all possible combinations of an integer n’s factors.

Section 10 Math Interview Questions

  • 01 Reverse Integer: Reverse the digits of an integer n.
  • 02 Palindrome Number: Determine whether an integer is a palindrome. Do this without extra space.
  • 03 Excel Sheet Column Numbe: Given a column title from an Excel sheet, return its corresponding column number.

A SCHOOL YOU CAN TRUST

  • Lifetime access that never expires
  • Project-based curriculum to superboost your portfolio
  • Graduation certificate for every course
  • Absolute beginner-friendly
  • New courses every month
  • Efficient lectures with step by step explanations
  • Relevant industry topics 8 years of award-winning course delivery
  • 800,000 students in 186 countries
  • Learn with free tools and affordable courses

REVIEWS OF MAMMOTH COURSES

Captivating voice, easy to follow at a rapid pace, get some paper and fasten your seat-belts. I'm enjoying every second of this.

— PHILIP MURRAY

I have completed many Udemy tutorials. This one is the most outstanding one that I have seen thus far. It is doubtful that it could be topped. This is a superior tutorial. Amazing.

— JOSEPH APPLEGARTH

COURSE AUTHOR

Alexandra Kropova, Software Developer at Mammoth Interactive INC.

Alexandra Kropova is a software developer specializing in OOP and JavaScript, with extensive experience in full-stack web development and app development. She has helped produce courses for Mammoth Interactive INC. since 2016, including the Coding Interview series in Java, JavaScript, C++ and C#.

Who this course is for:
  • You have a C++ interview coming up and need to learn how to answer questions properly
  • Anyone learning C++
  • You need to learn the most popular questions that you might be asked
  • You need to learn the top 10 most common topics asked about and sample questions for each
  • You haven't used C++ in a while and want to refresh your knowledge

Data Structures + Algorithms to Crack the Coding Interview

What you'll learn
  • Learn how to recognize patterns for solutions to coding interview questions.
  • Land a high paying role as a software developer/programmer.
  • Learn the most commonly asked questions by the likes of Facebook, Google, Amazon and Spotify for beginners.
  • Learn not only concepts but also be able to articulate your thought process as you plan and execute a solution.
  • Learn the best way to answer an interview question
  • Analyze the time complexity of various algorithms
  • Learn through hands-on coding examples and learn to solve problems quickly
  • Refresh your C++ knowledge in the 10 most popular topics asked at the coding interview

Instructors

Taught by people who ship.

John Bura

John Bura

Founder and CEO of Mammoth Club and Course Pro, the #1 AI-powered Learning Management System for course and content development, training and evaluation.

Ready to start building?

Refresh your C++ knowledge in the 10 most popular topics asked at the coding interview!

Buy lifetime access →