Pergunta de entrevista da empresa IBM

Optimize nested for loops at O(n^2) in Java. Tell me about a time you took on a leadership position.