[solved]-Given Pointer Root Binary Tree Write Routine Delete Every Node Tree Currently Leaf Sons Fi Q38995826
JAVA PLEASE
Given a pointer to the root of a binary tree write a routine that will delete every node in the tree that is currently a leaf (has no sons), and when finished tell you how many nodes were deleted as well as how many nodes are left in the tree. Show transcribed image text Given a pointer to the root of a binary tree write a routine that will delete every node in the tree that is currently a leaf (has no sons), and when finished tell you how many nodes were deleted as well as how many nodes are left in the tree.
Expert Answer
Answer to Given a pointer to the root of a binary tree write a routine that will delete every node in the tree that is currently a… . . .
OR

