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·

    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
  3. 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
  4. Anonymousshared experience·

    Zoho: Sort odds ascending and evens descending in place, keeping parity slots

    Problem. Given an integer array, sort the odd values in ascending order and the even values in descending order without using extra space. Each position keeps its parity: a slot th

    Question #Zoho SDE 1 0 7 0
  5. Anonymousshared experience·

    Hudson River Trading: Ball position on a tilting maze after timed tilts

    Problem. A board holds a maze and a ball. At any moment the board is tilted up, down, left or right, or lies flat. Each second, if the board is tilted and the next cell in that dir

    Question #Hudson River Trading SDE 1 0 4 0
  6. Anonymousshared experience·

    Hudson River Trading: Coordinate lit by the most street lamps

    Problem. Each street lamp has a centre c and a radius r and lights every point from c r to c + r. Find the coordinate lit by the largest number of lamps. If several coordinates tie

    Question #Hudson River Trading SDE 1 0 5 0
  7. Anonymousshared experience·

    Infosys: Offline auto-save for a browser-based collaborative document editor

    Problem. Design an offline auto save feature for a web document editor similar to an online word processor. While the user is offline their edits must keep saving, and when the con

    Question #Infosys SDE 1 0 11 0
  8. Anonymousshared experience·

    Infosys: Top-K salaries per department in SQL without LIMIT

    Problem. Given an employee table with salary and department columns, return the employees whose salaries fall in the top K within each department. You can't use LIMIT. Expected app

    Question #Infosys SDE 1 0 10 0
  9. Anonymousshared experience·

    TCS: Count, sum and two-decimal average of odd values in an array

    Problem. The question is wrapped in a ticket pricing story, but underneath it you read n and then n integers. Find the odd values and print three lines: how many there are, their s

    Question #TCS SDE 1 0 12 0
  10. Anonymousshared experience·

    TCS: Closest achievable cost from one base plus up to two of each topping

    Problem. You get two arrays: base costs breads and add on costs toppings , plus a target value. Pick exactly one base, and use each topping zero, one or two times. Return the total

    Question #TCS SDE 1 0 9 0
  11. Anonymousshared experience·

    Josh Technology Group: Pair sum in a BST without a stack or list

    Problem. Given a binary search tree and a target, find all pairs of nodes whose values add up to the target. Constraints given. You may not use a stack or a temporary list to hold

    Question #Josh Technology Group SDE 1 0 6 0
  12. Anonymousshared experience·

    Josh Technology Group: Cascading removal of adjacent letter pairs

    Problem. Given a string, remove any two adjacent characters that are consecutive letters like b and c or circular neighbours z and a . After a removal, the characters that become n

    Question #Josh Technology Group SDE 1 0 3 0
  13. Anonymousshared experience·

    Nuro: Play a video at a fixed 25 fps with non-thread-safe read and render

    Problem. You have a Frame class and a VideoPlayer with two calls: read returns the next frame or signals the end of the video, and render frame draws a frame. Implement on play cli

    Question #Nuro SDE 1 0 5 0
  14. Anonymousshared experience·

    Dropbox: Retention rate of January signups in February (SQL)

    Problem. You have a users table with each user's join date and an engagement table that logs user activity. Find the percentage of users who joined in January 2021 and were also ac

    Question #Dropbox SDE 1 0 6 0
  15. Anonymousshared experience·

    Swiggy: Shopping cart with checkout and pluggable discount rules

    Problem. Design a shopping cart. A user adds items, pays, and has discounts applied. Discounts can work in several different ways, for example different rule types. More features w

    Question #Swiggy SDE 1 0 7 0
  16. Anonymousshared experience·

    Stripe: Apply ordered commands to entities with valid state transitions only

    Problem. Simulate a system that holds several kinds of entities. You receive an ordered list of commands. Each command tries to move some object from one state to another. Apply th

    Question #Stripe SDE 1 0 10 0
  17. Anonymousshared experience·

    CRED: Compute latency, throughput and error rate over a time range from events

    Problem. You start from an existing boilerplate codebase that already holds event data. Extend it so that, for a given start and end timestamp, it computes and shows three metrics:

    Question #CRED SDE 1 0 9 0
  18. Anonymousshared experience·

    Accenture: Largest element that is greater than everything to its right

    Problem. Given an array of integers, find the largest element such that every element to its right is strictly smaller than it, a variant of the classic array leaders idea. Context

    Question #Accenture SDE 1 0 12 0
  19. Anonymousshared experience·

    Palantir: Round-robin scheduler built from a hash map and lists

    Problem. In the technical interview for a new grad role, the first question was to design and code a round robin system: hand out turns or work to a set of participants in rotation

    Question #Palantir SDE 1 0 8 0
  20. Anonymousshared experience·

    Teradata: O(1) insert, delete and get-random, then allow duplicates

    Problem. Design a data structure that supports insert, delete, search and returning a random element, each in average O 1 time. No duplicates at first. Follow ups. If you cannot us

    Question #Teradata SDE 1 0 3 0