Rippling Software Engineer Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
Compute concurrent online drivers
Question Given each driver’s chronologically sorted delivery records, build an algorithm that, for a timestamp t, returns how many distinct drivers we...
Compute median of two sorted arrays
You are given two sorted arrays of integers nums1 and nums2. - nums1 has length m, nums2 has length n. - Both arrays are sorted in non-decreasing orde...
Convert amounts between multiple currencies
You are given a set of direct currency exchange rates and a list of queries. Each exchange rate gives you how to convert from one currency to another....
Compute maximum simultaneous drivers
Given N driver online intervals [start_time, end_time) during a day, compute the maximum number of drivers simultaneously online at any moment. Handle...
Design a music player with favorites cap
Implement an in-memory music player that supports: addSong(id, metadata), removeSong(id), play(id), pause(), next(), prev(), getNowPlaying(), queueSon...
Compute peak concurrent drivers in 24 hours
Given delivery intervals across multiple drivers, compute the maximum number of distinct drivers simultaneously active within the last 24 hours from a...
Compute unique-dasher concurrency with tie-breaking
You are given N delivery assignments, each as (dasherId, startTime, endTime) with 0 <= startTime < endTime. A single dasher may hold multiple overlapp...
Compute peak busy dashers with overlaps
You are given delivery logs as (dasherId, startTime, endTime) with integer times, where endTime is exclusive. A single dasher may accept multiple orde...
Compute max simultaneous drivers last 24 hours
Given delivery intervals (driverId, startTime, endTime) already recorded, implement maxSimultaneousDriverInPast24Hours() that returns the maximum numb...