This algorithm will check if the key (integer) can be found through a sequence (integer array) in a binary search tree.