Pergunta de entrevista da empresa Palo Alto Networks

Q: shuffle an array, then implement optimization