Graduate Analyst Interview Questions

3,804 graduate analyst interview questions shared by candidates

Given an array of integers nums, find the maximum difference between any two elements in the array. You must write an algorithm that runs in linear time and uses linear extra space. For example, given the array [1, 3, 2, 9, 5, 6], the maximum difference is 8 (between 1 and 9). This question tests the candidate's ability to apply concepts such as sorting and searching to solve algorithmic problems in an efficient manner.
avatar

Graduate Analyst

Interviewed at Barclays

4
May 12, 2023

Given an array of integers nums, find the maximum difference between any two elements in the array. You must write an algorithm that runs in linear time and uses linear extra space. For example, given the array [1, 3, 2, 9, 5, 6], the maximum difference is 8 (between 1 and 9). This question tests the candidate's ability to apply concepts such as sorting and searching to solve algorithmic problems in an efficient manner.

You have one bag with red marbles in, one with blue marbles in and the other with a mixture.You cannot see through the bags and they are labelled incorrectly. How do you re-label them using the minimum amount of marbles to pick from the bag?
avatar

Graduate Analyst

Interviewed at TPP

2.6
May 13, 2016

You have one bag with red marbles in, one with blue marbles in and the other with a mixture.You cannot see through the bags and they are labelled incorrectly. How do you re-label them using the minimum amount of marbles to pick from the bag?

Viewing 51 - 60 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 3,804 interview questions and reports from Graduate analyst interviews. Prepare for your interview. Get hired. Love your job.