← Questions

Build your own CompletableFuture

0
GoogleCodingLast asked Jun 2026

A coding interview question asked in Google's first round (coding), last asked Jun 2026. It tests concurrency, futures and threads.

Implement a small version of CompletableFuture: a placeholder for a result that some thread will produce later. Other threads can block until it is ready, and callbacks can be chained to run when it completes.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Google · First round: coding · Last asked Jun 202645 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI

What it tests

concurrency · futures · threads

Your code and the AI tutor open when you unlock this question.