Pergunta de entrevista da empresa WD

Swapping two numbers using OOP's,Objects and Class. Print second largest element in the list. Given 2 strings check if they are circularly equal.