StackAdapt Interview Question

Questions regarding the case study I had to submit