Developer Interview Questions

271,141 developer interview questions shared by candidates

/* * Suppose we have a sorted array in ascending order, with no duplicates: * * {1, 2, 3, 4, 5, 6, 7} * * Somehow an unknown amount of numbers at the beginning are shifted to the end, * creating an array that looks like: * 0 1 2 3 4 5 6 * {3, 4, 5, 6, 7, 1, 2} * * Let us call the new array a shifted cyclic array. * * Now, given a Shifted Cyclic Array int a[], and its length n (> 0), write a function * to find the smallest number in the array. */
avatar

Software Developer

Interviewed at Storm8

3.7
Jan 11, 2012

/* * Suppose we have a sorted array in ascending order, with no duplicates: * * {1, 2, 3, 4, 5, 6, 7} * * Somehow an unknown amount of numbers at the beginning are shifted to the end, * creating an array that looks like: * 0 1 2 3 4 5 6 * {3, 4, 5, 6, 7, 1, 2} * * Let us call the new array a shifted cyclic array. * * Now, given a Shifted Cyclic Array int a[], and its length n (> 0), write a function * to find the smallest number in the array. */

There was written test which included 60 aptitude questions and 20 technical questions. In interview, below were the questions I remember : for input : 3 5 4 1 2, below is the output -*--- -**-- ***-- ***-* ***** Write program for it
avatar

Java Developer

Interviewed at 3dplm Software Solution

3.6
May 24, 2016

There was written test which included 60 aptitude questions and 20 technical questions. In interview, below were the questions I remember : for input : 3 5 4 1 2, below is the output -*--- -**-- ***-- ***-* ***** Write program for it

Viewing 211 - 220 interview questions

Glassdoor has 271,141 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.