fix typos in delete duplicates and push convert array to bst