cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
if two trees are identical
if two trees are identical
Sep 20, 2021 at 7:00am UTC
closed account (
Nwb4iNh0
)
Why we pass two parameters/pointers in bool function when we want to create function to identify if two trees are identical ?
and when we call this function in main body we should call it with
bool areTreesIdentical (root1, root2)???
bool
areTreesIdentical(Node *a, Node *b)
Sep 20, 2021 at 7:10am UTC
malibor
(660)
Please try to make just one thread in the future:
http://www.cplusplus.com/forum/beginner/280024/
Topic archived. No new replies allowed.