Skip to main content
00:00/00:00
Lecture 6 of 217

Implementing the code

Download Course (Free)

Course Content

0 / 217 completed
Section 1: Microsoft Array Question Container with most water Medium6 videos

Introduction to the problem

14m

Brute force solution intuition

9m

Pseudocode walkthrough

14m

Better Approach intuition

21m

Approach 2 Pseudocode walkthrough

14m

Implementing the code

4mNow Playing
Section 2: Airbnb Math Question Single Number6 videos

Introduction to the problem and brute force approach

8m

Pseudocode walkthrough for brute approach

5m

Approach 2 better Approach

13m

Implementing the code

5m

Approach 3 optimal approach

21m

Implementing the optimal approach

3m
Section 3: Amazon Math Question Robot return to origin Easy2 videos

Explaining the problem

8m

Implementing the code

4m
Section 4: Facebook Math Question Add Binary Easy5 videos

Introduction to the problem

7m

Examples of binary additions

4m

Pseudocode Implementation

6m

Pseudocode Walkthrough

12m

Implementing the code

8m
Section 5: Google Hash Tables Dictionaries question Two Sum Easy6 videos

Approach 1 Introduction to the problem and brute force approach

19m

Brute force Pseudocode Implementation

5m

Pseudocode Walkthrough

12m

Approach 2 Optimal Approach Explanation

29m

Pseudocode Walkthrough

8m

Code Implementation

5m
Section 6: Google Hash Tables Dictionaries question Contains Duplicate3 videos

Introduction to the problem and multiple approaches

19m

Optimal Approach

8m

Code Implementation

4m
Section 7: Google Hash Tables Dictionaries question Majority Element7 videos

Approach 1 Intuition

8m

Approach 1 Pseudocode Walkthrough

11m

Approach 2 Majority Element Intuition

11m

Implementing Approach 2 code

4m

Approach 3 Intuition Optimal solution

18m

Approach 3 Walkthrough Optimal solution

6m

Implementing Approach 3 optimal approach

4m
Section 8: Hash Tables Dictionaries question 4sum 2 Medium4 videos

Brute force Explanation

15m

Brute Force Pseudocode Walkthrough

13m

Approach 2 Optimal approach

26m

Implementing the code

8m
Section 9: Linkedin Hash Tables Dictionaries question Minimum Window Substring Hard6 videos

Explanation Minimum Window Substring part 1

9m

Explanation Minimum window substring part 2

12m

Explanation Minimum window substring part 3

29m

Pseudocode Implementation

20m

Pseudocode Walkthrough

21m

Code Implementation Minimum Window Substring

14m
Section 10: Facebook Hash Tables Dictionaries question Group Anagrams Medium1 videos

Explanation Group Anagrams Medium 49

26m
Section 11: Microsoft Hash Tables Dictionaries question LRU Cache Medium5 videos

Introduction to the problem

13m

InputOuput for the problem

13m

Intuition behind the problem

12m

Pseudocode implementation

16m

Pseudocode Walkthrough

29m
Section 12: Google Array Question Valid mountain array Easy4 videos

Implementing the code

4m

Introduction to the problem

6m

How to think about this problem

11m

Pseudocode Walkthrough

8m
Section 13: Apple Linked list question Merge Two Sorted Lists Easy4 videos

Explanation Merge Two Sorted Lists Easy 21

9m

Pseudocode Implementation Merge Two Sorted Lists Easy 21

10m

Walkthrough Merge Two Sorted Lists Easy 21

12m

Code Merge Two Sorted Lists Easy 21

6m
Section 14: Amazon Linked list question Linked list cycle Medium4 videos

Code Linked List Cycle Easy 141

4m

Explanation Linked List Cycle Easy 141

5m

Intuition Linked List Cycle Easy 141

11m

Walkthrough Linked List Cycle Easy 141

5m
Section 15: Microsoft Linked list question Reverse linked list Medium4 videos

Explanation Reverse Linked List

5m

Intuition Reverse Linked List

10m

pseudocode Implementation Walkthrough Reverse Linked List

12m

Implementing the code Reverse Linked List

6m
Section 16: Adobe Linked list question Add two numbers Medium5 videos

Explanation Add Two Numbers

9m

Intuition Add Two Numbers

11m

Pseudocode Implementation Add Two Numbers

7m

Walkthrough Add Two Numbers

13m

Code Add Two Numbers

11m
Section 17: Linked list question Remove Nth node from end of list Medium6 videos

Explanation Remove Nth Node From End of List

5m

Intuition Remove Nth Node From End of List

12m

Walkthrough Remove Nth Node From End of List

8m

Approach 2 Explanation Remove Nth Node From End of List

13m

Approach 2 Walkthrough Remove Nth Node From End of List

8m

Code Remove Nth Node From End of List

7m
Section 18: Linked list question Odd Even linked list Medium5 videos

Explanation Odd Even Linked List

7m

Intuition Odd Even Linked List

18m

Implementation Odd Even Linked List

4m

Walkthrough Odd Even Linked List

9m

Code Odd Even Linked List

7m
Section 19: Facebook Backtracking question Subsets Medium5 videos

Explanation Subsets

10m

Cascading solution explanation Subsets

9m

Cascading solution walkthrough Subsets

7m

Backtracking Approach 2 explanation Subsets

13m

Implementing the code

7m
Section 20: Amazon Backtracking question Letter Combination of a Phone Number Medium4 videos

Explanation Letter Combinations of a Phone Number

8m

Intuition Letter Combinations of a Phone Number

22m

Walkthrough Letter Combinations of a Phone Number

26m

Code Letter Combinations of a Phone Number

7m
Section 21: Microsoft Backtracking question Word Search Medium1 videos

Explanation Word Search Medium 79

48m
Section 22: Uber Backtracking question Combination Sum Medium4 videos

Explanation the problem

8m

Intuition behind the problem

15m

Walkthrough over the pseudocode

18m

Implementing the code

10m
Section 23: Google Array Question Boats to save people Medium4 videos

Problem Introduction

12m

How to intuitively think about this problem

14m

Pseudocode Walkthrough

14m

Implementing the code

7m
Section 24: Bloomberg Backtracking question Palindrome Partitioning Medium4 videos

Explaining the problem

20m

Pseudocode implementation

5m

Walkthrough over pseudocode

29m

Implementing the code

9m
Section 25: Microsoft Trees question Symmetric Trees Easy4 videos

Explaining the problem

6m

Intuition behind the problem

12m

Walkthrough over pseudocode

26m

Implementing the code

6m
Section 26: Google Trees question Maximum Depth of a Binary Tree Easy4 videos

Explaining the problem

3m

Intuition and pseudocode implementation

16m

Walkthrough over pseudocode

14m

Implementing the real code

5m
Section 27: Amazon Trees question Path Sum Easy4 videos

Explaining the problem

6m

Intuition behind the problem

8m

Walkthrough over pseudocode

21m

Coding the solution

7m
Section 28: Facebook Trees question Lowest Common Ancestor of a Binary Tree Medium4 videos

Explaining the problem

5m

Intuition behind the problem

10m

Pseudocode implementation

10m

Walkthrough over pseudocode

15m
Section 29: Google Trees question Kth Smallest Element In a BST Medium3 videos

Explaining the problem and brute force approach

11m

Optimised Solution Explanation

20m

Implementing the code

4m
Section 30: Microsoft Trees question Serialise And Deserialise Binary Tree Hard4 videos

Explaining the Serialisation

17m

Walkthrough over pseudocode Serialisation

9m

Explaining the Deserialisation

17m

Walkthrough over pseudocode Deserialisation

17m
Section 31: Microsoft Trees question Binary Tree Maximum Path Sum Hard4 videos

Explaining the problem

6m

Intuition behind the problem

18m

Walkthrough over pseudocode

25m

Coding the solution

6m
Section 32: Google Stack Question Min Stack Easy3 videos

Brute force explanation

15m

Walkthrough over pseudocode

9m

Optimal solution explanation

17m
Section 33: Amazon Stack Question Valid Parenthesis Easy5 videos

Explaining the problem

9m

Intuition behind this problem

11m

Pseudocode Implementation

4m

Walkthrough over the pseudocode

11m

Implementing the code

6m
Section 34: Facebook Array Question Move Zeroes Easy5 videos

Brute force Intuition

11m

Brute force pseudocode walkthrough

7m

Better Approach Intuition

13m

Better Approach Pseudocode walkthrough

6m

Implementing the code

4m
Section 35: Apple Stack Question Binary Tree Level Order Traversal Medium3 videos

Explaining the problem

18m

Walkthrough over pseudocode

10m

Implementing the code

6m
Section 36: Microsoft Queue Question Binary Tree Zigzag Level Order Traversal Medium6 videos

Explaining the problem

6m

Intuition behind the problem

17m

Walkthrough over pseudocode

12m

Optimal solution explanation

27m

Optimal solution pseudocode walkthrough

10m

Implementing the code

6m
Section 37: Stack Question Binary Tree Postorder Traversal Medium2 videos

Explanation of the problem

12m

Implementing the code

6m
Section 38: Google Dynamic Programming Question House Robber Easy5 videos

Explanation behind the problem

12m

Intuition behind the problem

24m

nd Approach Bottom Up dynamic programming

10m

Walkthrough behind pseudocode

9m

Implementing the code

6m
Section 39: Facebook Dynamic Programming Question Best Time To Buy And Sell Stocks Easy5 videos

Explanation behind the problem

7m

Intuition behind the problem

14m

Walkthrough over pseudocode

10m

Optimal solution explanation

12m

Coding the solution

5m
Section 40: Amazon Dynamic Programming Question Climbing Stairs Easy7 videos

Explaining the problem

16m

Intuition behind the problem

22m

Implementation the pseudocode

11m

Bottom up approach explanation

4m

Bottom up approach walkthrough

6m

Bottom up optimisation

4m

Code Climbing Stairs

3m
Section 41: Google Dynamic Programming Question Coin Change Medium5 videos

Explaining the problem

7m

Intuition behind the problem

18m

Pseudocode Implementation and optimisation

15m

Bottom up approach explanation

23m

Implementing the code

10m
Section 42: Bloomberg Dynamic Programming Question Unique Paths Medium3 videos

Explaining the problem

11m

Pseudocode Implementation and walkthrough

8m

Implementing the code

6m
Section 43: Microsoft Dynamic Programming Question Longest Palindromic Substring Medium6 videos

Explanation of the problem

5m

Initial Intuition behind the problem

16m

Optimising the previous solution

17m

Pseudocode Implementation

8m

Walkthrough over pseudocode

23m

Implementing the code

13m
Section 44: Amazon Dynamic Programming Question Trapping Rain Water Hard2 videos

Explaining the problem

29m

Coding the implementation

10m
Section 45: Amazon Array Question Longest substring without repeating characters Medium6 videos

Introduction to the problem

5m

Brute Force Intuition

25m

Pseudocode walkthrough

40m

Approach 2 Intuition

20m

Approach 2 pseudocode walkthrough

13m

Implementing the code

7m
Section 46: Arrays QuestionFind first and last position of element in sorted Array Medium6 videos

Introduction to the problem and brute force approach

11m

Brute force Pseudocode walkthrough

13m

Approach 2 Optimal Approach intuition

20m

Pseudocode walkthrough part 1

16m

Pseudocode walkthrough part 2

18m

Implementing the code

15m
Section 47: Google Array question first bad version Easy4 videos

Introduction To The Problem And Brute Force Approach

14m

Optimal Solution Intuition

12m

Optimal solution pseudocode walkthrough

4m

Implementing the code

7m
Section 48: Microsoft Math Question Missing Number Easyish7 videos

Introduction to the problem

7m

Approach 1 Brute Force Approach

8m

Approach 2 A Better Approach Explanation

12m

PseudoCode Walkthrough For Approach 2

7m

Implementing the code

3m

Approach 3 Optimal Approach

13m

Implementing the optimal approach

2m
Section 49: Amazon Math Question Count Primes5 videos

Problem Introduction And Brute Force Explanation

12m

Pseudocode Walkthrough For Brute Force Approach

11m

Approach 2 Optimal solution

21m

Pseudocode Walkthrough For Optimal Approach

14m

Code Implementation

7m