Ad
  • Custom User Avatar

    I fixed the htmlize function in C#. Also some minor cleanup.

  • Custom User Avatar

    I see nothing in the details about disallowing negative values. Many of the solutions would fail if the values turn negative.

    it('should return an object with a valid peak if values are negative',function(){
      Test.assertSimilar(pickPeaks([-2,-1,0,-1,-2]),{pos:[2],peaks:[0]}) 
    });