Network interview questions
Practice 14 questions on network. Each runs in a real in-browser editor with Jest tests and a worked, diagram-backed solution.
14 questions
- EASY
Contact Form
Build a contact form that posts the user's name, email, and message to a backend endpoint.
15 minUI / FrameworksAngularReactHTML / CSS / JSVue - EASY
Cursor Pagination Fetcher
Fetch successive pages with an opaque cursor, accumulating items and tracking whether more remain.
15 minJavaScript - EASY
Like Button
Build a Like button that toggles between liked and unliked states with matching visual feedback.
15 minUI / FrameworksAngularReactHTML / CSS / JSVue - MEDIUM
Abortable Fetch with Timeout
PREMIUMFetch with a timeout that aborts the request via AbortController and honors an external abort signal.
25 minJavaScript - MEDIUM
Async Autocomplete
Build an autocomplete that debounces typing, fetches matching results from an API, and handles loading and stale responses.
25 minUI / FrameworksAngularReactHTML / CSS / JSVue - MEDIUM
Birth Year Histogram
Build a widget that fetches birth year data from an API and renders it as a histogram of bucketed counts.
25 minUI / FrameworksAngularReactHTML / CSS / JSVue - MEDIUM
ETag Revalidation Cache
Cache responses by URL and revalidate with an ETag, reusing cached data on a 304 Not Modified.
25 minJavaScript - MEDIUM
HTTP Client Interceptors
PREMIUMBuild an axios-style client whose request and response interceptors transform each call as it passes through the chain.
25 minJavaScript - MEDIUM
Infinite Scroll List
Build a list that loads more items as the user scrolls near the bottom using an observer.
25 minUI / FrameworksAngularReactHTML / CSS / JSVue - MEDIUM
Job Board
Build a job board that fetches and renders recent Hacker News job postings with paginated loading.
25 minUI / FrameworksAngularReactHTML / CSS / JSVue - MEDIUM
Resilient Fetch Wrapper
Wrap an async call with retries, backoff, and a per-attempt timeout so transient failures recover.
25 minJavaScript - MEDIUM
Signup Form
Build a signup form that validates user details on submit and posts them to a back-end API.
25 minUI / FrameworksAngularReactHTML / CSS / JSVue - HARD
Autocomplete III
PREMIUMBuild a production autocomplete with async fetch, debounce, keyboard navigation, caching, and match highlighting.
40 minUI / FrameworksAngularReactHTML / CSS / JSVue - HARD
Realtime Search with Cache
PREMIUMBuild a search box that caches results per query and dedupes in-flight requests.
40 minUI / FrameworksAngularReactHTML / CSS / JSVue