Thread#stop() method is unsafe and it has been deprecated… since Java 1.2 because it does to a thread what a Linux SIGKILL does to a process. It kills immediately. Use Thread#interrupt() instead.
Write a function that takes in a Binary Search Tree (BST) and a target integer value and returns the closest value to that target value contained in the BST.
Write a function that takes in a Binary Tree and returns a list of its branch sums ordered from the leftmost branch sum to the rightmost branch sum.