السلام عليكم ورحمة الله وبركاته
أعضاء منتدى الفريق العربي عندي مشكلة في فهم كيفية تطبيق بعض العمليات على الــ tree مثل:
1.copy constructor
2.destructor
3.overloaded assignment operator
4.A function to return the number of nodes in the tree and another one to return the
number of levels in the tree and a third one to return the value of the root
5.A function to insert a new item to the tree. The insertion should keep the tree as
balanced as possible. Note that the tree is not a binary search tree (i.e. the nodes can
be inserted in any order)
6.A function to search for an item in the tree and return true if found or false otherwise
7.Overload the stream insertion operator to print the tree elements using in-order
traversal. In-order traversal starts printing the most left bottom node and ends with the
most right bottom node where the root node appears exactly in the middle
علما بأن التري ليست باينري وتطبيق العمليات بدون استخدام الــريكيرشن
أرجو المساعدة إمتحاني بالأحد وضروري أفهم هالأمور هاليومين ياريت حد يشرحها لي :(
يا عساكم للجنة يارب
run time error

