Create a Mountain peak array without using 3rd party lib?

后端 未结 0 1007
逝去的感伤
逝去的感伤 2021-01-17 09:53

The requirement is simple as this: given an array of integers, try to make an array exhibits the quality - A[i] < A[i+1]> A[i+2] < A[i+3]... repeat the same sequenc

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