← Amazon questions

Variant of the Celebrity Problem

Filed under Amazon

Celebrity problem: at a party of n people labelled 0 to n-1, a celebrity is someone who is known by everyone else but knows no one. You are given an n x n matrix M where M[i][j] = 1 means person i…

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 Amazon questions

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