- 0of 0 votes
- sunny346 October 13, 2016 in United States
Need to traverse below n-ary in postorder and throw error message if the node are cyclic Node001 / | \ / | \ / \ \ Node002 Node003 Node004 / / | \ / / | \ Node005 Node006 Node007 Node008 / / Node009 \ \ Node003 In above case it should through error because Node009 has child Node003 which is derived from it.
| Report Duplicate | Flag | PURGE
Open Chat in New Window