Kitware Interview Question

Walkthrough of sorting algorithm on white board