GitHub PushEvent at 2014-12-08 05:55:20
Repository: misc
Actor: bwzhou
Payload: {"shas":[["a6f745080253ddafeb4fa6a79a9d25d337cb9575","d005e8bfac929ff5f9cb62471a09d1fb38fd89f5@hotmail.com","Find Peak Element\n\nA peak element is an element that is greater than its neighbors.\r\n\r\nGiven an input array where num[i] ≠ num[i+1], find a peak element and return its index.\r\n\r\nThe array may contain multiple peaks, in that case return the index to any one of the peaks is fine.\r\n\r\nYou may imagine that num[-1] = num[n] = -∞.\r\n\r\nFor example, in array [1, 2, 3, 1], 3 is a peak element and your function should return the index number 2.\r\n\r\nclick to show spoilers.","bwzhou",true]],"size":1,"ref":"refs/heads/master","head":"a6f745080253ddafeb4fa6a79a9d25d337cb9575"}