0 day streak

Discuss

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

  1. Anonymousshared experience·

    American Express: Design a payment gateway with retries and idempotency

    Problem. Design a payment gateway. Areas the interviewer pushed on. Retrying failed calls safely. Handling failures at each step. Idempotency so a payment is never applied twice. I

    Question #American Express SDE 1 0 4 0
  2. Anonymousshared experience·

    Zomato: Schema to cap a banner at X views per Y hours across Z windows

    Problem. Design a schema and an approach for frequency capping a banner. Each user should see it at most X times within a window of Y hours, and the rule repeats for Z such windows

    Question #Zomato SDE 1 0 9 0
  3. Anonymousshared experience·

    Freshworks: Data model for a Q&A / blogging app with feed and notifications

    Problem. Design the database for a question and answer or long form blogging product. It has to support posts and comments, plus a user feed and notifications. Context. This came n

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

    Akamai: Keep only the odd values of a linked list

    Problem. Given a linked list, return a new list that holds only its odd values. For 1 2 3 4 5 6 7 8 the answer is 1 3 5 7. Follow ups. Time and space complexity, then how things ch

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

    Netflix: No repeated show in any row or column of the first home screen

    Problem. Think of the home page as a grid of rows of shows. Only part of it is visible on the first screen the viewport . Work out how to make sure that, within that first screen,

    Question #Netflix 0 8 0
  6. Anonymousshared experience·

    Zomato: Suggest a new dish price between the 1/3 and 2/3 points of past prices

    Problem. You get the prices of a merchant's existing dishes. Suggest a price for a new dish that is higher than the value at the one third position of the price distribution and lo

    Question #Zomato SDE 1 0 10 0
  7. Anonymousshared experience·

    Citadel: Running median with insert and findMedian

    Problem. Design a structure with two operations: insert an integer, and return the median of everything inserted so far. Expected path. Start with a list that is sorted when asked,

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

    Flipkart: Map each word to every way it can be built from other words in the list

    Problem. You get a list of words. Return a map whose keys are the words that can be made by joining two or more other words from the same list. Each value lists every combination o

    Question #Flipkart SDE 2 0 8 0
  9. Anonymousshared experience·

    Splunk: Design a concert ticket booking platform

    Problem. Give a high level architecture for a platform that sells concert tickets. Context. This was the onsite system design round for a senior engineer role; an earlier screen al

    Question #Splunk SDE 3 / Senior 0 4 0
  10. Anonymousshared experience·

    Flipkart: Executable e-commerce billing engine with discounts and loyalty levels

    Problem. Build a small but fully runnable billing module for an online store. It has to compute the bill for an order, apply discounts, and run a loyalty scheme where customers ear

    Question #Flipkart SDE 2 0 11 0
  11. Anonymousshared experience·

    Akamai: Design a KYC document storage service

    Problem. Design a service that collects and stores users' identity and vehicle registration documents for KYC checks. What was discussed. The schema for user documents and a table

    Question #Akamai 0 4 0
  12. Anonymousshared experience·

    Expedia Group: API to decide whether a product can be delivered to a pincode in two days

    Prompt. Design an API that, given a product and a delivery postal code pincode , says whether the product can arrive within two days. Points the discussion covered Core check: vali

    Question #Expedia Group SDE 2 0 9 0
  13. Anonymousshared experience·

    Booking.com: Spring Boot service: hotel CRUD plus three nearest hotels to a city

    Setup. A ready made Spring Boot project with an in memory H2 database already filled with data. JPA entities and repositories for Hotel and City exist, and both tables store latitu

    Question #Booking.com SDE 2 0 9 0
  14. Anonymousshared experience·

    Robinhood: Top-three referral leaderboard counting indirect referrals

    Problem. Two parallel arrays describe referrals in the order they happened: rh users i referred new users i . A user gets credit for everyone below them in their referral chain, no

    Question #Robinhood 0 10 0
  15. Anonymousshared experience·

    Snap: Count pairs of people who are not connected through mutual liking

    Problem. There are n people and a list of pairs a, b meaning a and b like each other. Return how many pairs of people do not like each other. In graph terms, liking spreads through

    Question #Snap 0 9 0
  16. Anonymousshared experience·

    Snap: Implement sine from scratch with a series expansion and a stopping rule

    Problem. Write your own version of a library sine function: take a number x in radians and return sin x as a double, without calling the built in. The suggested route is the Taylor

    Question #Snap Staff+ 0 10 0
  17. Anonymousshared experience·

    Robinhood: Fractional share inventory that stays flattened below one share

    Problem. Exchanges only trade whole shares, but customers can buy or sell fractions. The firm fills fractional orders from its own inventory per symbol and trades whole shares with

    Question #Robinhood 0 9 0
  18. Anonymousshared experience·

    Zepto: Coupon types schema plus frequency-weighted coupon picks per minute

    Problem. A combined LLD and HLD round on a coupon service, in two parts. Part 1. Design the database schema and the system for several coupon types: percentage off, flat amount off

    Question #Zepto 0 8 0
  19. Anonymousshared experience·

    Razorpay: In-memory pub/sub with ordered, guaranteed per-consumer delivery

    Problem. In 2 hours, with the interviewer watching your screen, build an in memory pub/sub queue. Every message published to a topic must reach every subscriber of that topic, in p

    Question #Razorpay 0 12 0
  20. Anonymousshared experience·

    Razorpay: Mini search engine: add/remove documents, AND-query words, search by tag

    Problem. Build a small document search system. Requirements. 1. Add and remove documents plain strings are fine 2. Given a query, efficiently return every document that contains al

    Question #Razorpay SDE 2 0 10 0