RSS Amplifier

Harpreet's Newsletter · Jun 1, 2026

77 LeetCode Problems To Crack TikTok

0
Sign in to vote or save

Harpreet Singh · Harpreet's Newsletter

Here are 77 LeetCode Problems I will solve to crack my TikTok 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 TikTok interview:

1/ Arrays & Hashing

  1. Two Sum

  2. Design HashMap

  3. Insert Delete GetRandom O(1)

  4. Spiral Matrix

  5. Longest Consecutive Sequence

2/ Two Pointers

  1. Longest Palindromic Substring

  2. 3Sum

  3. Sort Colors

  4. Container With Most Water

  5. Compare Version Numbers

  6. Trapping Rain Water

3/ Stack

  1. Valid Parentheses

  2. Decode String

  3. Basic Calculator II

  4. Daily Temperatures

  5. Asteroid Collision

  6. Subarray With Elements Greater Than Varying Threshold

4/ Binary Search

  1. Sqrt(x)

  2. Longest Increasing Subsequence

  3. Search in Rotated Sorted Array

  4. Capacity To Ship Packages Within D Days

  5. Maximum Value at a Given Index in a Bounded Array

  6. Snapshot Array

  7. Find Peak Element

5/ Sliding Window

  1. Longest Substring Without Repeating Characters

  2. Longest Substring with At Least K Repeating Characters

  3. Count Complete Subarrays in an Array

  4. Minimum Window Substring

  5. Minimum Moves to Pick K Ones

  6. Sliding Window Maximum

6/ Linked List

  1. Reverse Linked List

  2. Merge Two Sorted Lists

  3. LRU Cache

  4. Reorder List

  5. Sort List

  6. Reverse Nodes in k-Group

7/ Trees

  1. Construct Binary Tree from Preorder and Inorder Traversal

  2. Number of Good Leaf Nodes Pairs

  3. Binary Tree Right Side View

  4. Lowest Common Ancestor of a Binary Tree

  5. Binary Tree Maximum Path Sum

  6. Serialize and Deserialize Binary Tree

8/ Trie

  1. Longest Common Prefix

  2. Word Break

  3. Design Add And Search Words Data Structure

  4. Word Search II

9/ Backtracking

  1. Word Search

  2. Restore IP Addresses

  3. Generate Parentheses

  4. Combination Sum

  5. N-Queens

  6. Word Break II

10/ Heap (Priority Queue)

  1. Kth Largest Element in an Array

  2. Top K Frequent Elements

  3. Reorganize String

  4. Longest Happy String

  5. Merge k Sorted Lists

  6. Meeting Rooms III

11/ Graphs

  1. Number of Islands

  2. Course Schedule II

  3. Course Schedule

  4. Max Area of Island

  5. Making A Large Island

  6. Word Ladder

12/ Intervals

  1. Insert Interval

  2. Merge Intervals

  3. Non-overlapping Intervals

13/ Greedy & Dynamic Programming

  1. Best Time to Buy and Sell Stock

  2. Coin Change

  3. House Robber

  4. Maximum Swap

14/ Prefix Sum

  1. Subarray Sum Equals K

  2. Count the Hidden Sequences

  3. Find the Score of All Prefixes of an Array

15/ Miscellaneous

  1. Longest Increasing Path in a Matrix

  2. Bus Routes

  3. Shortest Path in a Grid with Obstacles Elimination

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.