How to delete a foreach and reduce complexity in a go algorithme

后端 未结 0 1601
借酒劲吻你
借酒劲吻你 2021-01-11 21:28

I\'am trying to implement a custom sort, a schema of my probleme :

schema

Here my current sort function :

func (input Input) Sort() *[]string {
         


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