Tip 1 : Prepare fundamental theory well
Tip 2 : Prepare Easy and medium level questions
Tip 3 : Go through you resume well
Tip 1:Make your resume relevant
Tip 2:Mention projects
3 coding questions were given to solve
int left = 0;
int right = nums.length-1;
int mid;
while(left<=right){
mid = left+(right-left)/2;
if(nums[mid]==target) return mid;
else if(nums[mid]>target) right = mid-1;
else left = mid+1;
}
return left;
'arr '= [1,2,3,4,5]
'k' = 1 rotated array = [2,3,4,5,1]
'k' = 2 rotated array = [3,4,5,1,2]
'k' = 3 rotated array = [4,5,1,2,3] and so on.
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which SQL keyword removes duplicate records from a result set?