Developer Interview Questions

269,292 developer interview questions shared by candidates

1) Code and analyse the function findMaximums(). 2) Use a sorted data structure (a binary tree). 3) std::vector<int> findMaximums(int* Data, int N, int K) where 4) Data is an array of int's. 5) N is the size of the array Data. 6) K is the number of element from Data you want to compare and maximize. 7) The vector you return is the list of these "local maximums".
avatar

Software Developer

Interviewed at Google

4.4
Jul 3, 2011

1) Code and analyse the function findMaximums(). 2) Use a sorted data structure (a binary tree). 3) std::vector<int> findMaximums(int* Data, int N, int K) where 4) Data is an array of int's. 5) N is the size of the array Data. 6) K is the number of element from Data you want to compare and maximize. 7) The vector you return is the list of these "local maximums".

Viewing 1591 - 1600 interview questions

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