Wahed Invest Interview Question

How would I optimize my code solution