Ios Interview Questions

7,867 ios interview questions shared by candidates

Write a sorting algorithm that would swap first and last indexes of the array, then the second and the one before last and so on. So, basically, I had to mirror the array. The requirement was that I could not create a second array where to put every number in the new and right order. I had to manipulate the original array itself.

IOS Developer

Interviewed at OneTwoTrip

4.1
Mar 26, 2018

Write a sorting algorithm that would swap first and last indexes of the array, then the second and the one before last and so on. So, basically, I had to mirror the array. The requirement was that I could not create a second array where to put every number in the new and right order. I had to manipulate the original array itself.

Viewing 5591 - 5600 interview questions

Glassdoor has 7,867 interview questions and reports from Ios interviews. Prepare for your interview. Get hired. Love your job.