0 day streak

Discuss

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

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. Anonymousshared experience·

    Revolut: In-memory bank that grows into a production service

    Problem. Start with an in memory banking service that can open accounts and return balances. Then extend it step by step. Steps. Add withdrawals that are safe under concurrent acce

    Question #Revolut SDE 3 / Senior 0 4 0
  7. Anonymousshared experience·

    Walmart Global Tech: Count islands in a grid, then count only distinct island shapes

    Problem. You get a 2D grid of land and water cells. First, count the islands, where an island is a group of land cells connected horizontally or vertically. Follow up twist. Change

    Question #Walmart Global Tech SDE 3 / Senior 0 11 0
  8. Anonymousshared experience·

    Walmart Global Tech: Build a thread pool executor modelled on the JDK internals

    Problem. Design a thread pool executor that works the way Java's built in one does internally. Present a class diagram, how the classes relate, and their key fields and methods. Ex

    Question #Walmart Global Tech SDE 3 / Senior 0 13 0
  9. Anonymousshared experience·

    MongoDB: Alert when migrated records miss a lag deadline

    Problem. Records are being migrated from a primary database to a second datastore. An event fires when a record leaves the primary and another when it arrives in the target. The ma

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

    MongoDB: Versioned document store with out-of-order writes

    Problem. Build a small datastore with two operations. put docId, contents, timestamp saves a version of a document at a timestamp. One document can have many versions, and puts may

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

    PhonePe: DAG workflow engine with parallel tasks, retries and execution logs

    Problem. Build a workflow execution engine in the spirit of Apache Airflow. A workflow is a directed acyclic graph, and each node is a task. The engine works out a valid run order

    Question #PhonePe SDE 3 / Senior 0 10 0
  12. Anonymousshared experience·

    PhonePe: Merchant settlement system with T+1 payouts and a daily ledger

    Problem. Design the system that settles money to merchants. Requirements. Each transaction is settled on T+1, after the platform's commission is taken out A merchant can see a ledg

    Question #PhonePe SDE 3 / Senior 0 10 0
  13. Anonymousshared experience·

    Microsoft: Job orchestrator that blocks overlapping runs of the same job

    Problem. Design a job scheduler and orchestrator. It supports n different job types. Every time a job is requested, the system hands back a unique run id for that execution. For so

    Question #Microsoft SDE 3 / Senior 0 8 0
  14. Anonymousshared experience·

    Grammarly: Remove adjacent duplicates chosen by a predicate

    Problem. Start with the classic task: repeatedly remove pairs of equal adjacent characters from a string until none remain. Then generalise it: removal is decided by a function or

    Question #Grammarly SDE 3 / Senior 0 5 0
  15. Anonymousshared experience·

    Zeta: Ride-sharing app with concurrency follow-ups

    Problem. In a timed machine coding round, build a working ride sharing app where users offer rides and others take them, similar to carpool apps. What was expected. A runnable solu

    Question #Zeta SDE 3 / Senior 0 6 0
  16. Anonymousshared experience·

    CrowdStrike: Design a malware file-scanning service

    Problem. Design a service like a public malware lookup site: users upload files and get back a verdict on whether they are malicious. Format. Given as a take home, then discussed l

    Question #CrowdStrike SDE 3 / Senior 0 7 0
  17. Anonymousshared experience·

    Twilio: Implement an asynchronous task scheduler

    Problem. Write an asynchronous task scheduler that runs submitted tasks. Format. Screen shared, with documentation lookup allowed. The recruiter had described it as a typical codin

    Question #Twilio SDE 3 / Senior 0 5 0
  18. Anonymousshared experience·

    Meta: Notify a million users at the start of a flash sale

    Problem. Design a notification system that has to alert roughly one million users when a flash sale goes live. What the interviewer focused on. The discussion centered on fan out,

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

    Airbnb: Host dashboard for nights booked and average price over a date range

    Problem. Design a page for hosts. The host picks a date range and sees aggregate numbers for it, specifically how many nights were booked and the average nightly price. Given. Assu

    Question #Airbnb SDE 3 / Senior 0 11 0
  20. 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