Shopee interview question

numerical and logical test.