Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Leetcode Questions Solutions Explained 8
Rating: 4.9 out of 5(6 ratings)
1,779 students

Leetcode Questions Solutions Explained 8

Solving Microsoft, Google, Airbnb, Uber, Amazon interview questions
Created byKado Data
Last updated 12/2020
English
English [Auto],

What you'll learn

  • coding interview
  • Coding Interview preparation
  • Java Development
  • Algorithms

Course content

1 section8 lectures1h 13m total length
  • Interview Question Subarray Sum Equals K O(n) Solution12:40

    Explore an efficient O(n) solution to subarray sum equals k using a cumulative sum and a hash map to count continuous subarrays.

  • Find Minimum in Rotated Sorted Array | Microsoft, LinkedIn, Amazon Interview11:55

    Learn to find the minimum in a rotated sorted array using a binary search variant. Identify the pivot by comparing mid and high, narrowing to the minimum in logarithmic time.

  • Two Sum ll | Microsoft, linkedin, airbnb interview question | Leetcode 1676:49

    Solve two sum ii on a sorted array using a two-pointer approach to find two numbers that add up to the target, returning one-based indices.

  • Two Sum | Google, Facebook, Microsoft, LinkedIn Interview Question | Leetcode 18:26

    Solve the two sum problem with a hash map, checking each number’s complement and returning indices when found in linear time.

  • Check completeness of a binary tree | Microsoft, Google interview question6:43

    Learn how to check a binary tree's completeness with breadth-first search and level-order traversal, ensuring the last level is left-aligned for Microsoft and Google interview questions.

  • Invert Binary Tree | Microsoft, Google, Facebook Interview Question | Leetcode 27:51

    Learn to invert a binary tree by recursively performing a depth-first search, processing left then right, and swapping left and right nodes to create the mirror image for interview prep.

  • Path Sum 2 | Microsoft, Google, Linkedin interview question | Leetcode 11310:05

    Master path sum II by using a depth-first search on a binary tree to find all root-to-leaf paths that total a given sum, as shown in Leetcode 113.

  • Longest Common Prefix | Facebook, Amazon, Microsoft interview question8:59

    Explains how to solve the longest common prefix problem for an array of strings, featuring a horizontal method that trims the first string until all inputs share the prefix.

Requirements

  • Basic Data Structures and Algorithms

Description

Mastering the Technical Interview: Logic Over Memorization

Are you preparing for a high-stakes technical interview at top-tier tech giants like Microsoft, Google, Airbnb, Uber, or Amazon? The path to landing these coveted roles is often paved with complex algorithmic challenges that can intimidate even experienced developers. Many candidates fall into the trap of rote memorization, trying to learn code snippets line-by-line. However, in a real interview setting, constraints change, edge cases arise, and memorization falls apart.

This course is designed to break that cycle.

My goal is to shift your perspective from simply "getting the answer" to deeply understanding the algorithmic logic behind it. We will move beyond syntax and focus on problem-solving intuition. By dissecting real-world interview questions used by top tech companies, I will guide you through the thought process required to tackle problems you have never seen before.

What you can expect:

Visual Learning: Every solution is explained on a whiteboard. We will visualize data structures, map out memory allocation, and trace execution flows to ensure the "why" is just as clear as the "how."

First Principles: We don't just write code; we derive it. You will learn how to identify patterns (like Sliding Windows, Two Pointers, or DFS/BFS) naturally.

Algorithmic Fluency: You will gain the confidence to explain your thoughts out loud—a critical soft skill that interviewers grade heavily.

Whether you are a fresh graduate or a seasoned engineer looking to pivot, this course will provide the mental framework necessary to ace your interviews with confidence.

Who this course is for:

  • Beginner to Advanced Programmers