I have vector which is sorted in non-decreasing order. if i apply lower_bound(myvec.begin(),myvec.end(),val)
.
What is the time complexity in this case?
lower_bound的时间复杂度是多少?
评论
请
登录后发表观点
I have vector which is sorted in non-decreasing order. if i apply lower_bound(myvec.begin(),myvec.end(),val)
.
What is the time complexity in this case?