0 day streak

Discuss

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

  1. Anonymousshared experience·

    Anduril: Arrange two teams for a photo, short in front and tall behind

    Problem. Two teams line up for a photo in two rows. Every player in the back row must be taller than the player standing in front of them. Decide how to order the players so this w

    Question #Anduril SDE 1 0 4 0
  2. Anonymousshared experience·

    Cloudflare: Ship logs from edge data centers to a core data center

    Problem. Several edge data centers produce logs. Design a pipeline that moves them to one core data center and lands them in a central store that can be queried. Requirements given

    Question #Cloudflare SDE 2 0 5 0
  3. 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
  4. 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
  5. Anonymousshared experience·

    Paytm: Predict commit vs rollback when @Transactional methods call each other

    Problem. You are shown a Spring service. placeOrder is annotated @Transactional and calls saveOrder on the same class, which is also @Transactional . It then calls sendNotification

    Question #Paytm SDE 3 / Senior 0 13 0
  6. Anonymousshared experience·

    Well-known company with no remote work, or a lesser-known mostly remote job?

    A 26 year old with about five years in Linux administration and DevOps had two offers: an expected $140K at a respected public company with no remote work, and a negotiated $130K a

    Discussion SDE 2 0 4 0
  7. Anonymousshared experience·

    Meta: Median filter over a k-by-k window of an image buffer

    Problem. You receive an input image buffer, an output buffer, the image width and height, and an odd kernel width k. For every pixel, write to the output the median of the k by k b

    Question #Meta SDE 3 / Senior 0 9 0
  8. Anonymousshared experience·

    Laid off with three months of runway: target AI roles, staff web roles or management?

    A staff level engineer with about ten years in full stack engineering and management had moved into AI work, then was laid off from a head of AI role at a struggling startup. They

    Discussion Staff+ 0 4 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·

    Wise: Implement a circuit breaker in a pair programming session

    Problem. In a pair programming round for a senior backend role, implement the circuit breaker pattern and talk through how it behaves: when calls are allowed, when the breaker trip

    Question #Wise SDE 3 / Senior 0 7 0
  11. 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
  12. Anonymousshared experience·

    Out of work with two months of savings: take a startup job or keep preparing for big tech?

    A mid level full stack engineer had been out of work for about four months, partly through illness and rest, and had practised algorithms daily for two months. Savings would last r

    Discussion SDE 2 0 4 0
  13. 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 9 0
  14. 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 9 0
  15. Anonymousshared experience·

    Cloudflare: Fewest partitions to hold all data

    Problem. You get a list of partition sizes and a list of how much data is in use. Data can be split into chunks across partitions. Return the minimum number of partitions needed to

    Question #Cloudflare SDE 2 0 4 0
  16. Anonymousshared experience·

    Rakuten: Traffic light component with a timed cycle

    Problem. Build a traffic signal component in React with TypeScript. Rules given. 1. The lights switch every 2 seconds. 2. After each 6 seconds of switching, pause for 4 seconds, th

    Question #Rakuten SDE 1 0 7 0
  17. Anonymousshared experience·

    Amazon: File search utility with composable AND/OR filters

    Problem. Design a command line file search tool. A user should be able to search files by attributes such as name, size and extension, and should be able to build more complex quer

    Question #Amazon SDE 2 0 9 0
  18. Anonymousshared experience·

    Tekion: Build an in-memory file system with cp, mv, mkdir and pwd

    Problem. In 45 minutes, design and fully implement a file management system that supports these commands: cp copy , mv move , mkdir make a directory and pwd print the current direc

    Question #Tekion SDE 1 0 6 0
  19. Anonymousshared experience·

    Remote services job at 31.5 LPA vs an in-office product-company offer in Bangalore

    A data engineer at a services company earned 31.5 LPA, worked remotely from their parents' home in a smaller city, and had received hikes of 18% and 23% with a promotion in the las

    Discussion SDE 3 / Senior 0 4 0
  20. Anonymousshared experience·

    Stuck with a 90-day notice period in India: how do I get more recruiter calls?

    An engineer in India with about 3.5 years of experience and a 9.2 LPA package kept getting filtered out because of a 90 day notice period, even at services companies. They asked ho

    Discussion SDE 2 0 4 0