LinkedIn interview question

They asked about binary trees and sorting