| 
 | 
back to boardAdmin! How Come! TEST4 N-1? Posted by  deLarry 26 Dec 2016 15:09 It says, that K is an amount of stones BETWEEN other stones. Why does Test4 answer equal n-1. I suppose it should be n-2, shouldn't it?   Edited by author 26.12.2016 16:46 Re: Admin! How Come! TEST4 N-1? You should read the problem statement more clearly. Since K<N, if the array is sorted then K=N-1.  |  
  | 
|