Rakuten interview question

Confidential