- 0of 0 votes
Let's define an array as "pointy" if it monotonically increases from element 0 to some element k and then monotonically decreases from k onwards. (0 <= k).- SK February 07, 2015 in United States
Not Pointy: [1,2,3,5,3,6,1]
Given an array "s", modify it so that it is pointy.
| Report Duplicate | Flag | PURGE
Open Chat in New Window