Course Overlap by Student ID
Asked at Walmart Labs · Coding Questions · Difficulty: Medium · Last asked Dec 31, 2025
Given a list of `(student_id, course_name)` pairs, output for every unordered pair of distinct students the list of courses they both take. The output keys are formatted as the two student IDs joined by a comma.
Loading the problem…
More Walmart Labs interview questions
- Design State-Wide Temperature Sensor Ingestion
- Design Walmart Plus Membership System
- Design Multi-Carrier Package Delivery Routing System
- Refactor a Scheduling Function into a Production REST Service
- Design Ticketmaster - Event Booking and Seat Reservation
- ML System Design - Predict Item Category