leetcode #Search in Rotated Sorted Array
LeetCode 33번 - Search in Rotated Sorted Array
leetcode.com/problems/search-in-rotated-sorted-array/submissions/ Search in Rotated Sorted Array - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com class Solution { public: int search(vector& nums, int target) { int l = 0; int r = nums.size()-1; while(l target){ //일반적인 경우와 다를때: r의 값..