I copy the contents of a generic tree into a binary tree?
As far as my understanding goes generic and binary doesn't exclude each other. Generic means that you can put "any" data in it and binary means that each node will have not more than 2 children (or exactly 2 children if you count the null reference as a child too).
Обсуждают сегодня