Skip to content

Pitchloom

Interview question library

Search interview questions by role, level and type. Each one names the answer framework that suits it and what a strong answer covers. Members can also see what candidates report being asked at a company, and practice any question out loud with feedback.

New to the frameworks? See the answer frameworks, or read the Interview Framework Cheat Sheet.

Sign in to see what candidates report being asked at a company, and the questions written for your own jobs.

Interview questions

385 questions

  • When would you choose a tree over a hash table?

    TechnicalEngineering/SoftwareMid-levelPEEL framework

    A strong answer: Points to ordered data, range queries and predictable worst-case cost, with an example such as an index.

  • Explain how a heap works and where you would use one.

    TechnicalEngineering/SoftwareMid-levelPEEL framework

    A strong answer: Describes the ordering rule, insertion and removal cost, and uses such as priority queues and top-k problems.

  • How would you design an in-memory cache with a size limit?

    TechnicalEngineering/SoftwareSeniorPEEL framework

    A strong answer: Combines a hash map with a recency list for constant-time access and eviction, discusses eviction policy, expiry and concurrent access.

  • How would you design a URL shortening service?

    TechnicalEngineering/SoftwareMid-levelXPERT framework

    A strong answer: Clarifies scale, covers key generation, storage, redirects, caching and expiry, and discusses how it grows and fails.

  • How would you design a rate limiter for an API?

    TechnicalEngineering/SoftwareSeniorXPERT framework

    A strong answer: Compares algorithms such as token bucket and sliding window, where the limiter sits, shared state across servers, and what the client sees.

  • Design a news feed for a social application.

    TechnicalEngineering/SoftwareSeniorXPERT framework

    A strong answer: Compares building feeds when posts are written against when they are read, covers ranking, storage, caching and very popular accounts.

  • How would you design a notification system that sends email, text and push messages?

    TechnicalEngineering/SoftwareSeniorXPERT framework

    A strong answer: Covers queues, retries, user preferences, duplicate prevention, provider failures and how you would track delivery.

  • How would you design a system to process payments reliably?

    TechnicalEngineering/SoftwareSeniorXPERT framework

    A strong answer: Explains idempotent requests, consistency, handling of timeouts and retries, reconciliation, and audit records.

  • How would you break a large application into services, and when would you not?

    TechnicalEngineering/SoftwareLead / ManagerXPERT framework

    A strong answer: Weighs team independence and scaling against operational cost, describes how to find boundaries, and names cases where one application is better.

  • What happens when you type a web address into a browser and press enter?

    TechnicalEngineering/SoftwareMid-levelXPERT framework

    A strong answer: Walks through name lookup, connection and encryption setup, the request, server handling, and rendering, at a sensible level of detail.

  • How do you design a system so that it stays available when a component fails?

    TechnicalEngineering/SoftwareSeniorXPERT framework

    A strong answer: Covers redundancy, timeouts, retries with backoff, graceful degradation, health checks, and testing failure on purpose.

  • What is the difference between an inner join and a left join?

    TechnicalEngineering/SoftwareEntryPEEL framework

    A strong answer: Explains which rows each returns with a small example, and when missing matches matter.

  • What is a database index, and what does it cost?

    TechnicalEngineering/SoftwareMid-levelPEEL framework

    A strong answer: Explains how an index speeds up lookups, its cost on writes and storage, and how you would decide which columns to index.

  • How would you find out why a query is slow?

    TechnicalEngineering/SoftwareMid-levelPEEL framework

    A strong answer: Reads the query plan, looks for full scans and poor joins, checks indexes and statistics, and measures before and after.

  • What is a transaction, and what do isolation levels protect against?

    TechnicalEngineering/SoftwareMid-levelPEEL framework

    A strong answer: Explains all-or-nothing changes, gives examples of the problems each isolation level prevents, and the cost in performance.

  • When would you choose a relational database over a document or key-value store?

    TechnicalEngineering/SoftwareSeniorPEEL framework

    A strong answer: Compares data shape, query needs, consistency and scale, with an example of each choice.

  • How would you change the structure of a large table without downtime?

    TechnicalEngineering/SoftwareSeniorPEEL framework

    A strong answer: Describes backward-compatible steps: add, backfill in batches, switch reads and writes, then remove, with a way back at each step.

  • What makes a good API?

    TechnicalEngineering/SoftwareEntryPEEL framework

    A strong answer: Covers consistent naming, clear errors, versioning, sensible defaults and documentation, with an example of a good or bad one you have used.

  • How do you handle authentication and authorization in a web application?

    TechnicalEngineering/SoftwareMid-levelPEEL framework

    A strong answer: Separates proving who someone is from what they may do, covers sessions or tokens, and checks permissions on the server for every request.

  • How would you make an API call safe to retry?

    TechnicalEngineering/SoftwareMid-levelPEEL framework

    A strong answer: Explains idempotency keys, which operations are naturally safe, and how the server recognizes a repeated request.

Answer frameworks

Each question in the library names the framework that suits it. Here is what each one stands for. The Interview Framework Cheat Sheet goes through each part with an example.

START
Situation, Task, Action, Result, Tie-back
START stands for Situation, Task, Action, Result, Tie-back. For "Tell me about a time when" questions: a story with a clear result, tied back to the job.

Best for

  • Behavioral questions
  • Teamwork, conflict and failure
  • Initiative and pressure
PSR
Problem, Solution, Result
PSR stands for Problem, Solution, Result. For "How did you solve" questions, where your reasoning matters more than the back story.

Best for

  • Technical problems
  • Incidents and fixes
  • Short follow-up answers
XPERT
X-ray, Plan, Execute, Result, Transfer
XPERT stands for X-ray, Plan, Execute, Result, Transfer. For senior and leadership questions about decisions, trade-offs and bringing a team through change.

Best for

  • Hard decisions
  • Leading through change
  • Weighing options
PEEL
Point, Evidence, Explain, Link
PEEL stands for Point, Evidence, Explain, Link. For questions with no single right answer: make the point, back it up, and link it to the question.

Best for

  • Opinions
  • "How would you approach" questions
  • Showing how you think
TEAL
Term, Example, Analogy, Link
TEAL stands for Term, Example, Analogy, Link. For "What is" and "Explain" questions, technical or not: define it, show it, and make it simple.

Best for

  • Explaining a concept
  • Technical definitions
  • Talking to people outside your field

Free tools to try

No account needed.

Practice a behavioral answer
Try the START framework on a real question and get feedback on your answer.
Check your resume
See how your resume reads against a job description and which keywords it is missing.
Prepare a salary negotiation
Work out what to ask for and how to say it.
Plan your first 90 days
Draft a 30-60-90 day plan for a new role.

Other places to research

Sites we find useful. They are not part of Pitchloom.