Sollicitatievraag bij TATA ELXSI

1.Basic programming question with its logic explanation.(swapping, pattern)