Pergunta de entrevista da empresa Arcesium

Given a string, is it a palindrome? If one swap is possible then?

Resposta da entrevista

Sigiloso

8 de mai. de 2024

Without swap I used recursion when with 1 swap allowed at max I identified 2 edge cases and written the code