add 4 tree related problems