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.
Search in Rotated Sorted Array -- LeetCode
http://blog.youkuaiyun.com/linhuanmars/article/details/20525681
Search in Rotated Sorted Array II -- LeetCode
http://blog.youkuaiyun.com/linhuanmars/article/details/20588511