从有序数组中查找不小于(不大于)某数的第一个(最后一个)元素
                    
                
                
                    记录一下二分查找的变形场景:
不小于某数的第一个元素
| 1 | def binary_search_notlessthan_first(arr, target): | 
如果 res==-1 ,说明 any(arr) < target
不大于某数的最后一个元素
| 1 | def binary_search_notgreaterthan_last(arr, target): | 
如果 res==-1 ,说明 any(arr) > target