0 day streak

Discuss

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

  1. Anonymousshared experience·

    Cohesity: Design a key-value store, then code consistent hashing in 10 minutes

    Problem. Design a key value storage system. Then, within about 10 minutes, implement consistent hashing for it. Context. This came after a first round where the candidate built a k

    Question #Cohesity SDE 2 0 6 0
  2. Anonymousshared experience·

    Rippling: Rule engine that validates expenses against configurable rules

    Problem. You get a list of expenses and a set of rules. Build an engine that checks every expense against the rules and reports which ones break which rule. What is judged. New rul

    Question #Rippling SDE 2 0 4 0
  3. Anonymousshared experience·

    Groww: Auto square-off service for intraday positions on price thresholds

    Problem. Design a risk service that automatically closes a user's intraday position once the price moves a set percentage away from the previous day's close. Example: a stock close

    Question #Groww SDE 2 0 9 0
  4. Anonymousshared experience·

    Rippling: Article voting with the last K flipped articles

    Problem. Build an article store where users can upvote and downvote articles. Also support a query that returns the last K articles whose vote state flipped. What is judged. The da

    Question #Rippling SDE 2 0 4 0
  5. Anonymousshared experience·

    Cohesity: Append a 100 GB file to another 100 GB file

    Problem. You have two files of 100 GB each. Append one to the end of the other. What the candidate discussed. Read the source in chunks sized to the RAM you have, and write each ch

    Question #Cohesity SDE 2 0 5 0
  6. Anonymousshared experience·

    Tekion: Longest run of ones if you can flip up to k zeros

    Problem. Given a binary array and a number k, find the longest stretch of consecutive 1s you can get if you are allowed to flip at most k 0s to 1s. What happened. It was the second

    Question #Tekion SDE 2 0 6 0
  7. Anonymousshared experience·

    BharatPe: Notification system with priorities and bursts

    Problem. Design a system that sends notifications to users. What was probed. The trade offs in your design choices. How priority notifications get through ahead of normal ones. Wha

    Question #BharatPe SDE 2 0 6 0
  8. Anonymousshared experience·

    CRED: Flight booking with per-seat pricing and no double sale across resellers

    Problem. In a two hour onsite, lead the design of a flight booking platform from scratch. Areas covered. 1. Functional and non functional requirements, scope and assumptions 2. Dom

    Question #CRED SDE 2 0 7 0
  9. Anonymousshared experience·

    Uber: In-memory shell with mkdir, cd, ls and pwd

    Problem. Implement the core of a Linux style file system shell in memory, supporting commands such as mkdir to create a directory, cd to move between directories, ls to list conten

    Question #Uber SDE 2 0 7 0
  10. Anonymousshared experience·

    Google: Earliest live timestamp in a deduplicated message stream

    Problem. Messages arrive one by one, each carrying a timestamp. A message stays valid for 10 seconds after its timestamp. If the same message shows up again while an earlier copy i

    Question #Google SDE 2 0 8 0
  11. Anonymousshared experience·

    Google: Count the ways to spell a word using chemical element symbols

    Problem. You get the periodic table, meaning the set of element symbols one or two letters, such as H, C, Si, Cs , and a single word. Count how many different ways the word can be

    Question #Google SDE 2 0 8 0
  12. 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
  13. Anonymousshared experience·

    Publicis Sapient: Big spenders in a given month, at scale

    Problem. Write a SQL query that returns users whose purchases in a chosen month of the previous year add up to more than 10,000. Follow ups in the same section. Write the equivalen

    Question #Publicis Sapient SDE 2 0 5 0
  14. 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
  15. 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
  16. Anonymousshared experience·

    Rippling: Settle balances from a list of payments

    Problem. You get transactions of the form from, to, amount . Work out each person's net balance and print who should pay whom and how much to settle up. The minimum number of payme

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

    Coupang: Count subsequence matches with no two adjacent picks

    Problem. Given a source pattern and a target string, count the ways to pick characters of the target, in order, that spell the source, with the rule that two neighbouring character

    Question #Coupang SDE 2 0 5 0
  18. 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
  19. 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
  20. 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