Problem On tree.

Revision en1, by wish_me, 2017-08-30 13:48:44

Given any two nodes in a binary tree, find the path from 1st node to another, and tell if the path is a straight line, or there are turns on the line, find number of turns.

Tags recursion, binary, tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English wish_me 2017-08-30 13:48:44 188 Initial revision (published)