employer cover photo
employer logo
employer logo

Palantir Technologies

Is this your company?

Palantir Technologies interview question

Find the max difference in an array

Interview Answer

Anonymous

23 Nov 2012

Calculate min and max in theta(n) time, and return max-min in constant time.