Financial Interview Questions

56,916 financial interview questions shared by candidates

Given an array with building sizes, find the building to be knocked over from the left (assuming you are Godzilla) so as to knock over maximum number of buildings. The buildings once knocked over, can reach as far as their height. So, if the array is (2, 4, 0, 0, 0, 1) , We would have to knock over 2, which will knock over 4, 2 and 1. Also notice in (2, 6, 4, 0, 0, 0, 0, 1) the 6 would reach over the 4 and knock over the 1. (Something that I confirmed with the interviewer)
avatar

Financial Engineer

Interviewed at Palantir Technologies

3.7
Oct 8, 2011

Given an array with building sizes, find the building to be knocked over from the left (assuming you are Godzilla) so as to knock over maximum number of buildings. The buildings once knocked over, can reach as far as their height. So, if the array is (2, 4, 0, 0, 0, 1) , We would have to knock over 2, which will knock over 4, 2 and 1. Also notice in (2, 6, 4, 0, 0, 0, 0, 1) the 6 would reach over the 4 and knock over the 1. (Something that I confirmed with the interviewer)

Viewing 571 - 580 interview questions

Glassdoor has 56,916 interview questions and reports from Financial interviews. Prepare for your interview. Get hired. Love your job.