get range of an array in c# in efficient complexity

前端 未结 0 1723
时光说笑
时光说笑 2020-12-03 16:20

I have an array of integers and i want to return part of it but the problem I want to do it in O(log n) or O(1). I have used array.copy() but it\'s O(n). I have

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