Finding the parent of a node in a binary tree is a detail that should be handled inside the function.
Attach a file by drag & drop or click to upload