Actual Questions from iOS Interviews

The names have been omitted to protect the innocent.

Will Saults

--

Photo by ThisisEngineering RAEng on Unsplash

Find the median value

For this question I was asked to find the median value given two integer arrays. The solution I came up with involved first combining the two arrays, sorting them, and then checking if the length of the combined arrays is an even number.

--

--

Will Saults

Staff Software Engineer, iOS dev mentor, agile champion, TDD advocate, and AR/VR enthusiast!