internal path length algorithm binary tree

101 Views Asked by At

I need an algorithm (if it's in C # it would be perfect) that calculates the internal path length of a binary tree. I have searched all over the internet and I can't find anything, please help me urgently (sorry for the mistakes, I'm not a native English speaker, I'm using a translator).