':type nums: List[int]
:type target: int
:rtype: List[int]'

def searchRange(self, nums, target):

    left = self.binarySearch((lambda x, y: (x >= y)), nums, target)
    if ((left >= len(nums)) or (nums[left] != target)):
        return [(-1), (-1)]
    right = self.binarySearch((lambda x, y: (x > y)), nums, target)
    return [left, (right - 1)]
