DMK Restaurants interview question

Nothing complicated.