message: Update find-peak-element.py
  Adding another solution with same complexity but less case checks
diff: @@ -38,6 +38,21 @@ class Solution(object):
  return left
  + def findPeakElement2(self, nums):
  + """
  + :type nums: List[int]
  + :rtype: int
  + """
  + left, right = 0, len(nums) - 1
  +
  + while left < right:
  + mid = left + (right - left) / 2
  + if nums[mid] > nums[mid + 1]:
  + right = mid
  + else:
  + left = mid + 1
  +
  + return left
  if __name__ == "__main__":
  # print Solution().findPeakElement([1,2,1])
  