Google L4-L6 Prep16 TopicsLearning to pass
the interview
Data structures and algorithms explained visually, without the math wall. Interactive diagrams, a Python playground, AI feedback, and progress tracking.
Google Interview Readiness0Just StartingStart practicing to build your scoreTry it now - no signupTwo Sum · easySolve a real Google interview question, right here
Given an array of integers `nums` and an integer `target`, return the indices of the two numbers that add up to `target`. Each input has exactly one solution. You may not use the same element twice.
Time:O(n)Space:O(n)Real Python, real tests - it all runs in your browser.solution.py⌘↵ runLoading...OUTPUTRun your code to see output
Not sure where to start?Follow the skill tree - learn concepts in the right order with prerequisites mapped out.View Learning Path0/16Topics Mastered0Challenges Solved0Active This WeekData Structures
8 topics0% avg masteryBeginnerArrays & Strings
avg O(n)space O(1)Mastery0%0/3 challengesEasyLinked Lists
avg O(n)space O(1)Mastery0%0/2 challengesEasyStacks & Queues
avg O(1)space O(n)Mastery0%0/2 challengesEasyHash Tables
avg O(1)space O(n)Mastery0%0/2 challengesIntermediateBinary Trees
avg O(log n)space O(h)Mastery0%0/2 challengesAdvancedGraphs
avg O(V + E)space O(V + E)Mastery0%0/2 challengesIntermediateHeaps / Priority Queues
avg O(log n)space O(n)Mastery0%0/1 challengesAdvancedTries
avg O(m)space O(n * m)Mastery0%0/1 challengesAlgorithms
6 topics0% avg masteryEasySorting
avg O(n log n)space O(log n)Mastery0%0/1 challengesEasyBinary Search
avg O(log n)space O(1)Mastery0%0/2 challengesIntermediateRecursion & Backtracking
avg O(2^n)space O(n)Mastery0%0/1 challengesExpertDynamic Programming
avg O(n^2)space O(n)Mastery0%0/2 challengesIntermediateBFS & DFS
avg O(V + E)space O(V)Mastery0%0/1 challengesIntermediateGreedy Algorithms
avg O(n log n)space O(1)Mastery0%0/1 challengesConcepts
2 topics0% avg masteryBeginnerBig-O Notation
avg N/Aspace N/AMastery0%0/1 challengesAdvancedSystem Design Basics
avg O(1)space O(n)Mastery0%0/1 challenges