lintcode462- Total Occurrence of Target- easy

Given a target number and an integer array sorted in ascending order. Find the total number of occurrences of target in the array.

原文地址:https://www.cnblogs.com/jasminemzy/p/7590155.html