Software Developers Interview Questions

96,223 software developers 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 671 - 680 interview questions

Glassdoor has 96,223 interview questions and reports from Software developers interviews. Prepare for your interview. Get hired. Love your job.