How can I create an indexed binary tree from a sorted list in Haskell?

前端 未结 0 478
北恋
北恋 2021-02-18 19:53

I am trying to make a tree out of a sorted list so that I can search it later.

The problem is

I have to return the index of the number if it is found else I retu

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