MOMO (Vietnam) interview question

How to optimize a large flatlist.