【每日一题】3.17search-in-rotated
亲爱的牛客们~
又到了【每日一题】的时候啦,昨天的题目你觉得怎么样呢?不妨来讨论区和大家一起讨论哟~
今天的题目是这样滴:
【每日一题】0317
[编程题]search-in-rotated-sorted-array-ii
Follow up for "Search in Rotated
Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the array.
大家可以在下面链接直接在线编程训练哦:
欢迎大家认真思考,积极讨论~
也欢迎高手们把题目翻译成中文,翻译的“信达雅”有奖哟~