[solved]-Given Pointer Root Binary Tree Write Routine Delete Every Node Tree Ourrently Leaf Sons Fi Q38996139
in java pleaseGiven a pointer to the root of a binary tree write a routine that will delete every node in the tree that is ourrently 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 ourrently 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 ourrently a… . . .
OR

