RSS Amplifier

Harpreet's Newsletter · Jun 8, 2026

76 LeetCode Problems To Crack Apple

0
Sign in to vote or save

Harpreet Singh · Harpreet's Newsletter

Here are 76 LeetCode Problems I will solve to crack my Apple interview.

And no, I won’t “grind 500 problems.”

I will focus on the right ones.

These are the exact problems I will practice right before my Apple interview:

1/ Arrays & Hashing

  1. Two Sum

  2. Pascal’s Triangle

  3. Valid Anagram

  4. Group Anagrams

  5. Valid Sudoku

  6. Spiral Matrix

2/ Two Pointers

  1. Merge Sorted Array

  2. Valid Palindrome

  3. Rotate Array

  4. Reverse Words in a String

  5. String Compression

  6. Trapping Rain Water

3/ Stack

  1. Valid Parentheses

  2. Implement Queue using Stacks

  3. Remove All Adjacent Duplicates In String

  4. Min Stack

  5. Decode String

  6. Flatten Nested List Iterator

4/ Binary Search

  1. Sqrt(x)

  2. Time Based Key-Value Store

  3. Find First and Last Position of Element in Sorted Array

  4. Search in Rotated Sorted Array

  5. Snapshot Array

  6. Median of Two Sorted Arrays

5/ Sliding Window

  1. Contains Duplicate II

  2. Longest Substring Without Repeating Characters

  3. Subarray Product Less Than K

  4. Find All Anagrams in a String

  5. Sliding Window Maximum

6/ Linked List

  1. Reverse Linked List

  2. Merge Two Sorted Lists

  3. LRU Cache

  4. Add Two Numbers

  5. Delete Node in a Linked List

  6. Remove Nth Node From End of List

7/ Trees

  1. Maximum Depth of Binary Tree

  2. Binary Tree Paths

  3. Lowest Common Ancestor of a Binary Tree

  4. Binary Tree Level Order Traversal

  5. Validate Binary Search Tree

  6. Serialize and Deserialize Binary Tree

8/ Trie

  1. Longest Common Prefix

  2. Word Break

  3. Implement Trie (Prefix Tree)

  4. Design Add And Search Words Data Structure

9/ Backtracking

  1. Generate Parentheses

  2. Maximum Rows Covered by Columns

  3. Permutations

  4. Letter Combinations of a Phone Number

  5. Word Search

  6. Number of Squareful Arrays

10/ Heap (Priority Queue)

  1. Top K Frequent Elements

  2. Kth Largest Element in an Array

  3. Task Scheduler

  4. Merge k Sorted Lists

  5. Find Median from Data Stream

  6. Find Servers That Handled Most Number of Requests

11/ Graphs

  1. Number of Islands

  2. Course Schedule

  3. Course Schedule II

  4. Array Nesting

  5. Word Ladder

12/ Intervals

  1. Insert Interval

  2. Interval List Intersections

  3. Merge Intervals

13/ Greedy & Dynamic Programming

  1. Best Time to Buy and Sell Stock

  2. Maximum Subarray

  3. Best Time to Buy and Sell Stock II

14/ Prefix Sum

  1. Product of Array Except Self

  2. Subarray Sum Equals K

  3. Random Pick with Weight

15/ Miscellaneous

  1. Reverse Bits

  2. Climbing Stairs

  3. Number of 1 Bits

  4. Reverse Integer

  5. Integer to English Words

If you’re preparing for FAANG in 2026, don’t forget to save this post.

Also, here’s a platform which you can use to practice for your interviews:

🔗 Interview Roadmap Platform: Link

Best of luck!

Read the original on singhz.substack.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.