Find equal distance values in an array

后端 未结 0 1693
自闭症患者
自闭症患者 2020-12-08 05:56

I am looking for a way to find values within an array that have the same "distance" to each other.

So for example within the arraw [1,2,3,5,7,8,9,10]

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