You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
首先感谢本项目给本人带来的帮助!
想随机生成一棵n个点完全二叉树或二叉搜索树,边无权值。rand_tree实验k叉树时发现无法保证生成的是二叉树或完全二叉树。
同时为了保证所生成的数据是二叉树或完全二叉树或二叉搜索树等,每次都手工将测试数据按起始点 到终止点之间连线的方法来验证,是否可以增加一个打印二叉树上下结构类的功能。
如果项目中本来就有以下功能,请告知使用方法,谢谢。
Beta Was this translation helpful? Give feedback.
All reactions