Google

Challenges: 21Easy: 5Medium: 10Hard: 6

This Google coding interview set pulls together 21 challenges, with a mix of 5 easy, 10 medium, 6 hard. The problems lean on dynamic-programming, graphs, topological-sort, arrays, two-pointers, so you can drill the patterns that come up most and walk into the interview ready.

Topics this company tests

Google coding challenges

  • Cache Invalidation Planner

    Difficulty: HardTopics: dynamic-programming, graphs, topological-sort
  • Container With Most Water

    Difficulty: MediumTopics: arrays, two-pointers
  • Distributed Lock Expiry Audit

    Difficulty: HardTopics: simulation, state-machine
  • Invert Binary Tree

    Difficulty: MediumTopics: recursion, trees
  • Longest Increasing Subsequence

    Difficulty: HardTopics: arrays, binary-search, dynamic-programming
  • Maximum Subarray

    Difficulty: MediumTopics: arrays, dynamic-programming
  • Meeting Room Scheduler

    Difficulty: MediumTopics: heaps, intervals, sorting
  • Merge K Sorted Lists

    Difficulty: HardTopics: divide-and-conquer, heap, linked-lists
  • Multi Tenant Quota Enforcer

    Difficulty: MediumTopics: hash-map, simulation
  • Plus One

    Difficulty: EasyTopics: arrays
  • Reverse Linked List

    Difficulty: EasyTopics: linked-lists
  • Search in Rotated Sorted Array

    Difficulty: MediumTopics: arrays, binary-search
  • Serialize and Deserialize Binary Tree

    Difficulty: HardTopics: bfs, design, trees
  • Sliding Log Rate Limiter

    Difficulty: MediumTopics: arrays, simulation, sliding-window
  • Three Sum

    Difficulty: MediumTopics: arrays, sorting, two-pointers
  • Token Bucket Refill

    Difficulty: MediumTopics: greedy, queues, simulation
  • Trapping Rain Water

    Difficulty: HardTopics: arrays, stacks, two-pointers
  • Two Sum

    Difficulty: EasyTopics: arrays, hashing
  • Valid Anagram

    Difficulty: EasyTopics: hashing, strings
  • Valid Parentheses

    Difficulty: EasyTopics: stacks, strings
  • Validate Binary Search Tree

    Difficulty: MediumTopics: binary-search, recursion, trees

Ready to practice for real?

Work through coding challenges like the ones Google asks, run your code, and check your solution against real test cases.

Practice coding challenges, start free