Fair Distribution interview question

It was basic interview questions.