General Motors (GM) interview question

Sorting, binary trees and simple problems like that