0 day streak

Discuss

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

  1. Anonymousshared experience·

    Optiver: Multicore overheat controller simulation

    Problem. Simulate a firmware thermal controller for a multicore processor. You get a passive cooling capacity shared by the chip, an active cooling capacity per core, a list of cor

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

    Nutanix: Hit counter with bursty timestamps, fixed memory and concurrency

    Problem. Build a hit counter that records hits with timestamps and reports how many hits happened within a recent time window. This is the usual "hits in the last N seconds" style.

    Question #Nutanix SDE 3 / Senior 0 11 0
  3. Anonymousshared experience·

    Teradata: Design a RAG system over internal company data

    Role. Cloud AI engineer, candidate with about two years of experience. Problem. Design a retrieval augmented generation system that answers questions over an organisation's interna

    Question #Teradata SDE 1 0 6 0
  4. Anonymousshared experience·

    Nvidia: Hash-partition an array on the GPU and return partition offsets

    Problem. You get an input array and a partition count P . Hash each element into one of the P partitions, lay the elements out on the GPU so that every partition is contiguous, and

    Question #Nvidia SDE 3 / Senior 0 10 0
  5. Anonymousshared experience·

    Palantir: Total portfolio value per day with missing prices carried forward

    Problem. You get several companies, each with a list of day, price pairs. Produce, for every day that appears anywhere in the input, the sum of all companies' prices on that day. W

    Question #Palantir 0 8 0
  6. 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
  7. Anonymousshared experience·

    MongoDB: Read-write lock that does not starve writers

    Problem. Write a read write lock by hand. Many readers may hold it at once, but a writer needs exclusive access. Once the basic version works, change it so a steady stream of reade

    Question #MongoDB 0 6 0
  8. Anonymousshared experience·

    DoorDash: Courier pay from overlapping deliveries, then peak-window multipliers

    Problem. Compute a courier's pay from a log of their deliveries. Deliveries can overlap in time, and pay depends on how many deliveries are active during each stretch of time. The

    Question #DoorDash 0 9 0
  9. Anonymousshared experience·

    MongoDB: Union iterator over two sorted iterators

    Problem. Write a class that takes two iterators, each yielding strictly increasing values, and itself exposes hasNext and next . It must produce the union of both inputs in strictl

    Question #MongoDB 0 4 0
  10. Anonymousshared experience·

    Affirm: Card game simulation that scales from two players to N

    Problem. Shuffle a standard 52 card deck and split it into piles, one per player. Each round, players compare their top cards; the player with the higher card takes both and sets t

    Question #Affirm 0 5 0
  11. Anonymousshared experience·

    DoorDash: Donation service with reliable payments and duplicate protection

    Prompt. Design a donation service. Users give money to causes, payments go through a payment processor, and the payouts to recipients must be tracked. Areas the interviewer pushed

    Question #DoorDash 0 11 0
  12. Anonymousshared experience·

    Instacart: Cheapest cart total given percent-off and buy-x-get-y-free discounts

    Problem. You are given a transaction the items being bought and a set of available discounts. Discounts come in two kinds: a percentage off, and buy x get y free deals. Return the

    Question #Instacart 0 8 0
  13. Anonymousshared experience·

    Reddit: Grid word search where the path must keep one fixed direction

    Problem. Given a grid of letters and a word, decide whether the word appears in the grid. The rule that sank the candidate: once the word starts, every following letter has to cont

    Question #Reddit 0 8 0
  14. Anonymousshared experience·

    Pinterest: Fewest subsequences of a source string needed to build a target

    Problem. You get a source string and a target string. You may only take subsequences of the source delete characters, keep the order and join them together. Part 1. Decide whether

    Question #Pinterest 0 11 0
  15. Anonymousshared experience·

    Pinterest: Typeahead service that starts small but can grow

    Prompt. Design a typeahead search autocomplete service. The interviewer wanted a design suited to a modest starting scale that can still grow as demand increases. Candidate's direc

    Question #Pinterest 0 8 0
  16. Anonymousshared experience·

    Snowflake: Web crawler: fewest clicks between pages, then the actual path

    Problem. You have a helper, get all links page , that returns the outgoing links of a page. Given a start page and a target page, return the minimum number of clicks needed to get

    Question #Snowflake SDE 1 0 9 0
  17. Anonymousshared experience·

    Lyft: One-to-one messenger with offline push, multi-device sync and paged history

    Prompt. Design a messaging service that supports only one to one chats no groups . The interviewer added extra requirements as the discussion went on. Follow ups the interviewer pu

    Question #Lyft SDE 3 / Senior 0 8 0
  18. Anonymousshared experience·

    Freshworks: O(1) LFU cache with recency as the tie-breaker

    Problem. Implement a least frequently used cache with get key and put key, value . When the cache is full, evict the key with the lowest access count. If several keys tie on count,

    Question #Freshworks Staff+ 0 9 0
  19. Anonymousshared experience·

    Lyft: Versioned key-value store where get looks up the closest global version

    Problem. Build a key value store that keeps history. Writes are stamped with a version number, and that version counter is global across all keys rather than per key. Implement get

    Question #Lyft SDE 3 / Senior 0 8 0
  20. Anonymousshared experience·

    Nutanix: Peak memory usage and its time window from process intervals

    Problem. You get a list of processes. Each has a start time, an end time and the memory it uses while running. Find the peak total memory in use at any moment, and report the start

    Question #Nutanix SDE 3 / Senior 0 9 0