Skip to content

Latest commit

 

History

History
4 lines (2 loc) · 205 Bytes

51.md

File metadata and controls

4 lines (2 loc) · 205 Bytes

在排序数组中查找数字

统计一个数字在排序数组中出现的次数,例如输入排序数组{1,2,3,3,3,3,4,5}和数字3,由于3在数组中出现4次,因此输出4