Complete Screening Guide

The Complete Guide to Passing Toptal

150+ problems organized by category, covering all 4 rounds of Toptal's technical screening. Deep theory, full C# solutions, step-by-step traces, edge cases, and mock tests. With a structured 60-day study plan and ~120 hours of practice, you'll be ready to be in the 7.4% who pass.

150+
Problems
13
Categories
4
Rounds Covered
17
Codility Lessons
3
Mock Tests
C#
All Solutions
01

Quick Start

Choose your starting point based on where you are in the process.

02

60-Day Study Path

You have 60 days — that's a huge advantage. Follow this 8-week plan at ~2 hours/day. 120 total hours of structured practice. See the full daily breakdown in the Strategy Overview.

⚠
Critical Rule: O(n) = 100% score. O(n²) on n=100,000 = timeout = 50% score. Always find the optimal complexity.
03

All 4 Rounds

Toptal has 4 sequential rounds. You must pass each to proceed.

04

13 Problem Categories

150+ problems organized by technique. Each with full C# solution, step-by-step trace, edge cases, and complexity analysis.

Category 1
Arrays & Prefix Sums
MissingInteger, GenomicRangeQuery, MaxCounters, Kadane's, Product Except Self, and more.
15 problemsMost Tested
Category 2
Sliding Window & Two Pointers
Longest Substring, Container With Water, 3Sum, Trapping Rain Water, MinAvgTwoSlice.
15 problemsHigh Frequency
Category 3
Sorting & Binary Search
Rotated arrays, Merge Intervals, Kth Largest, MinMaxDivision, NailingPlanks.
15 problemsEssential
Category 4
Hash Maps & Sets
Group Anagrams, Top K Frequent, Longest Consecutive, LRU Cache, Subarray Sum K.
15 problemsGo-To Optimization
Category 5
Stacks & Queues
Brackets, Fish, StoneWall, Monotonic Stack, Largest Rectangle, Basic Calculator.
15 problemsCodility Favorite
Category 6
Graphs & BFS/DFS
Number of Islands, Course Schedule, Dijkstra, Word Ladder, Union-Find, Alien Dictionary.
15 problemsAdvanced
Category 7
Greedy Algorithms
Jump Game, Gas Station, Task Scheduler, Partition Labels, Interval scheduling.
12 problems
Category 8
Dynamic Programming
Coin Change, LIS, Edit Distance, Knapsack, Stock with Cooldown, Palindromic Substring.
15 problemsHardest Category
Category 9
Trees & BST
Validate BST, LCA, Level Order, Path Sum, Serialize/Deserialize, Kth Smallest.
12 problems
Category 10
Strings & Pattern Matching
Palindromes, KMP, Wildcard Matching, Decode Ways, Minimum Window Substring.
12 problems
Category 11
Linked Lists
Reverse, Merge, Cycle Detection, Palindrome, Add Two Numbers, Merge K Lists.
10 problems
Category 12
Bit Manipulation & Math
XOR tricks, Sieve of Eratosthenes, Fast Exponentiation, Brian Kernighan's.
10 problems
Category 13
Intervals & Matrix
Merge Intervals, Spiral Matrix, Rotate Image, Flags, CountTriangles.
10 problems
05

Supplementary Resources

Essential guides for Codility mastery, mock testing, and interview preparation.

✅
Your goal: Score 210/300 on the Codility test. That means 100 on Easy + 100 on Medium + at least 10 on Hard. Master Easy and Medium so you finish them in 40 minutes, leaving 50 minutes for Hard.