PRDXN interview question

Programs swap two numbers,string reverse