← Zomato questions
Low-Level DesignReported in a candidate post, Jul 2025

Implement shuffle for a music player

Filed under Zomato

Design the shuffle feature of a music player and write pseudocode only. The post hints at the Fisher-Yates shuffle: every song plays exactly once, in a uniformly random order.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Zomato questions

Collected from public candidate posts and coding forums. Updated Nov 2026.