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
Rating: 4.6 out of 5(79 ratings)
5,179 students

Leetcode Questions Solutions Explained

Solving Microsoft, Google, Airbnb, Uber, Amazon interview questions
Created byKado Data
Last updated 8/2020
English

What you'll learn

  • Solving technical questions asked by major tech companies during interviews.

Course content

1 section14 lectures1h 59m total length
  • Detect Capital | Leetcode 5207:22

    Explain the detect capital problem (leetcode 520) by verifying all uppercase, all lowercase, or only the first letter uppercase, using ascii ranges and per-character checks.

  • Sort Array By Parity II | Leetcode 9227:20

    Use a two-pointer approach to place even numbers at even indices and odd numbers at odd indices in LeetCode 922, swapping misplaced elements until the array is correctly rearranged.

  • Palindrome Number | Leetcode 99:30

    determine whether an integer is a palindrome without strings by reversing digits to half and comparing with the original; ignore negatives and trailing zeros, handle odd lengths with reverse/10.

  • Longest Substring Without Repeating Characters | Leetcode 37:40

    Master the longest substring without repeating characters using a two-pointer and set approach, tracking the maximum unique-character window as you slide and adjust for duplicates.

  • Missing Number | Leetcode 2683:59

    Use Gauss formula to find the missing number in an array, achieving linear runtime and constant space by comparing the expected sum from zero to N with the actual sum.

  • Partition List | Leetcode 868:53

    Partition a linked list around a value x, preserving the original order, by building two lists for nodes less than and greater or equal to x, then merging them.

  • Minimum Path Sum | Leetcode 6411:37

    Solve the Leetcode 64 minimum path sum from the top-left to bottom-right in a non-negative grid by moving right or down, using a bottom-up dynamic programming approach.

  • First Unique Character in a String | Leetcode 3876:20

    Solve the first unique character in a string by building a 26-letter frequency array for lowercase letters, then return the first index with count one or -1 if none.

  • Repeated DNA Sequences | Leetcode 1877:02

    Identify all ten-letter DNA substrings that occur more than once by sliding a window across the sequence, tracking seen substrings with a set, and collecting duplicates for output.

  • Linked List Cycle II | Leetcode 1429:57

    Demonstrates how to detect and locate the start of a cycle in a linked list using slow and fast pointers, handling both cyclic and acyclic cases.

  • Remove Duplicates from Sorted List II | Leetcode 829:23

    Learn a two-pointer solution with a dummy head to remove all duplicates from a sorted linked list, returning only distinct numbers in sorted order.

  • Merge k Sorted Lists | Leetcode 238:44

    Merge k sorted lists into one sorted linked list using a min-heap priority queue, building the result with a dummy head and appending smallest nodes.

  • Merge Intervals | Leetcode 5611:42

    Learn to merge overlapping intervals by sorting start times and expanding ends to form a single consolidated list; use a lambda comparator and iterative merging to produce the result.

  • Remove Element | Leetcode 279:53

    Explore removing all instances of a given value from an array in place, using in place modification with no extra memory, returning the new length while the order may change.

Requirements

  • It would be nice to know data structures and algorithms. Heaps, queues, stacks, Linked Lists, trees etc.

Description

Don't just code. Understand.

​When you're interviewing at Google, Microsoft, Amazon, Uber, or Airbnb, the whiteboard isn't your enemy—it's your greatest tool. Yet, most candidates fail because they try to memorize solutions rather than mastering the underlying logic.

​I designed this course to change your perspective. By breaking down the most frequent interview questions on a virtual whiteboard, I help you visualize the data flow and the "why" behind every algorithm. We move past the syntax to focus on the mental frameworks that top-tier engineers use to solve complex problems in real-time.

​What you will master:

  • The "Zero-to-One" Strategy: How to approach a blank whiteboard and build a solution from scratch.

  • Structural Intuition: Learn to see the hidden patterns in Arrays, Graphs, and Dynamic Programming.

  • The Explainer’s Edge: How to communicate your logic clearly so the interviewer can follow your brilliance.

  • First-Principles Thinking: Strip away the noise and focus on the core logic that makes sense of every problem.

Turn the interview into a conversation. This course isn't just a study guide; it’s a mental upgrade. Stop grinding through endless lists of problems and start developing the engineering intuition that turns "I don't know" into "I can solve this."

Thanks

Who this course is for:

  • People who are looking to pass Major tech companies interviews.