educative.io

Educative

Missing display_tree function implementation

Can you publish the display_tree function implementation?


Course: Educative: Interactive Courses for Software Developers
Lesson: Educative: Interactive Courses for Software Developers

Hi @STurl

In the lesson, DisplayTree() function is just used for displaying level-order traversal of trees being tested. So you can use any print level order implementation for displaying a tree. The focus in the lesson is just to Check if Two Binary Trees are Identical or not that’s why this specific code is provided.

Hope it will help, Happy Learning :slight_smile: