employer cover photo
employer logo
employer logo

Palantir Technologies

Is this your company?

Palantir Technologies interview question

The first question involved creating a simple cipher program in Python. The task was to decrypt an encrypted string by replacing each character with the Kth character in the counter-clockwise direction on the English letter wheel. The second question required implementing a function called "efficient trek." The function took an array of trail lengths and the number of days to cover all trails. The goal was to return the minimum sum of the longest trail on each day, based on the specified conditions. The example provided was a scenario with six trails and a given record value, and the task was to calculate the minimum sum of the longest trails.