Check if binary search tree contains more evens then odds

前端 未结 0 959
囚心锁ツ
囚心锁ツ 2021-01-27 02:10

Im trying to check bst int values. if the tree contains more odds i should return 2 , if contains more evens return 1 and 0 if there is equal number of odds and evens - recursiv

相关标签:
回答
  • 消灭零回复
提交回复
热议问题