Bestseller interview question

FE task