0 day streak

Discuss

Interview experiences, the questions people were asked, and salaries, shared by software engineers. 817 posts so far.

  1. Anonymousshared experience·

    Yahoo: Convert between units through known ratios

    Problem. You are given conversion facts such as feet to inches and inches to centimetres. Answer queries that convert a value from one unit to another, even when there is no direct

    Question #Yahoo SDE 3 / Senior 0 5 0
  2. Anonymousshared experience·

    Apple: Roll out replica updates evenly while keeping groups healthy

    Problem. The round was built around a replica management system. There is a replica class with fields such as region, id and the replica group it belongs to, plus APIs to check whe

    Question #Apple 0 6 0
  3. Anonymousshared experience·

    LinkedIn: Top-K most and least frequent exceptions in a time window

    Problem. A service throws exceptions. Design a system that tracks them and can report the top K most frequent and the top K least frequent exceptions within a sliding time window,

    Question #LinkedIn 0 9 0
  4. Anonymousshared experience·

    Uber: Circuit breaker that trips on request volume, not errors

    Problem. Implement a circuit breaker. The twist is that the requirements read more like a rate limiter: the breaker opens based on how many requests come through, not on how many o

    Question #Uber SDE 2 0 8 0
  5. Anonymousshared experience·

    Netflix: Count pairs of numbers that are rotations of each other

    Problem. Given an array of integers, count how many pairs are cyclic rotations of one another, meaning one number's digits can be rotated to produce the other. Example. 546, 654 an

    Question #Netflix 0 8 0
  6. Anonymousshared experience·

    Roblox: Randomly split an array into non-empty segments

    Problem. Split an integer array into a given number of subarrays by choosing elements at random, so that each element is equally likely to end up in any subarray. Every subarray mu

    Question #Roblox 0 5 0
  7. Anonymousshared experience·

    Apple: Sum a long iterator's values, then split the work across two threads

    Problem. You are handed a custom iterator over long values. Internally it starts at 0, stops at one million, reports whether more values remain, and returns the next incremented va

    Question #Apple 0 8 0
  8. Anonymousshared experience·

    Capital One: Reply threads for a team chat app

    Problem. Design the backend for message threads in a team chat app. A user can reply to one message in a channel, and the replies live in a side thread so the main channel feed sta

    Question #Capital One SDE 1 0 5 0
  9. Anonymousshared experience·

    Waymo: Split a bag of integers into groups, with tightening rules

    Problem. You get a multiset of integers. The task grows in three stages: 1. Split them into groups where every value in a group is the same. 2. Split them into groups of exactly 5

    Question #Waymo 0 4 0
  10. Anonymousshared experience·

    Zepto: Chess game: classes, move validation, schema and REST APIs

    Problem. Design a chess game across three layers: classes, database schema and APIs. Classes. Player, Board, Piece, Move, Game and Position. King, Queen, Bishop, Knight, Rook and P

    Question #Zepto 0 10 0
  11. Anonymousshared experience·

    BlackRock: Design a cache that supports LRU and LFU eviction

    Problem. Design a cache system for an Associate level C++ role. Follow up. How would you implement LRU evict the least recently used entry and LFU evict the least frequently used e

    Question #BlackRock SDE 2 0 4 0
  12. Anonymousshared experience·

    Reddit: Hide a comment and its whole subtree when it matches an unwanted topic

    Problem. You receive a dictionary of comments. Each comment has an id , a parent comment link, a body , and two flags, cat and dog , marking what it discusses. The parent links mak

    Question #Reddit 0 8 0
  13. Anonymousshared experience·

    Stripe: Cheapest way to ship packages under weight and volume limits

    Problem. A three part shipping cost calculator. Part 1. You have packages with weights and ships that each have a weight limit and a fixed cost. Find the minimum total cost to ship

    Question #Stripe 0 7 0
  14. Anonymousshared experience·

    Teradata: O(1) insert, delete and get-random, then allow duplicates

    Problem. Design a data structure that supports insert, delete, search and returning a random element, each in average O 1 time. No duplicates at first. Follow ups. If you cannot us

    Question #Teradata SDE 1 0 3 0
  15. Anonymousshared experience·

    Indeed: Data model for movie streaming and reviews

    Problem. For a movie streaming product that also produces reviews, design the fact tables and the derived tables built from them. What was asked. Choose the facts to capture for ex

    Question #Indeed SDE 2 0 3 0
  16. Anonymousshared experience·

    Rippling: Key-value store with begin, commit and rollback

    Problem. Implement an in memory store for string keys and values with add, get and delete. Follow up. Add transaction support with begin, commit and rollback. Gets, puts and delete

    Question #Rippling SDE 2 0 6 0
  17. Anonymousshared experience·

    Scale AI: Debug an LLM service that returns no output

    Problem. You are handed a small codebase, roughly 150 to 200 lines, that calls a model but never returns its output. Find out why. What the candidate found. The bug sat in the prom

    Question #Scale AI SDE 1 0 5 0
  18. Anonymousshared experience·

    OpenAI: Assign tasks to humans and AI under a list of rules

    Problem. Build a system that assigns tasks to a mix of human workers and AI agents. Every assignment must satisfy a given list of requirements. What made it hard. The candidate sai

    Question #OpenAI SDE 3 / Senior 0 5 0
  19. Anonymousshared experience·

    OpenAI: Iterator that extends to 2D, 3D and async

    Problem. Implement an iterator over a collection. Then extend it step by step: iterate a 2D structure, then a 3D one, then make an async version. What mattered. The candidate, who

    Question #OpenAI 0 2 0
  20. Anonymousshared experience·

    Scale AI: Design an LLM agent backend for insurance claims

    Problem. Design the backend for an agent that takes in insurance claims and makes decisions on them. Areas the interviewer wanted covered. Retrieval augmented generation to pull th

    Question #Scale AI SDE 1 0 4 0