Snap interview question

array sorting, classes, polymorphism, traveling salesman