Alaska Airlines interview question

binary tree nonsense, intro to algorithmns and datastructures type stuff