MOMO (Vietnam) Interview Question

How to optimize a large flatlist.