Pergunta de entrevista da empresa Razorpay

They asked Basic Coding like reverse a string and swap two variables without using third variable