C Interview Questions

5,472 c interview questions shared by candidates

Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. You are given a target value to search. If found in the array return its index, otherwise return ‘-1’. You may assume no duplicate exists in the array.
avatar

C++ Developer

Interviewed at VK

4.2
Aug 22, 2018

Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. You are given a target value to search. If found in the array return its index, otherwise return ‘-1’. You may assume no duplicate exists in the array.

Viewing 1321 - 1330 interview questions

Glassdoor has 5,472 interview questions and reports from C interviews. Prepare for your interview. Get hired. Love your job.