Pergunta de entrevista da empresa LenDenClub

Swapping logic (Any 3 logics have to provide)