Using Java: Given a set of numbers in a file:14,15,4,9,7,18,3,5,16,4,20,17,9,14,5 read from file to build abinary tree, please check duplicate, no duplicate is allowed in thetree. please post the source code with comment if possible, alsothe output.
Expert Answer
Answer to Using Java: Given a set of numbers in a file: 14,15,4,9,7,18,3,5,16,4,20,17,9,14,5 read from file to build a binary tree…