A recruiter reached out via LinkedIn.
I showed interest, and they scheduled a 45-minute technical phone interview with an engineer.
It went okay, but I never heard back after that.
Decode string based on criteria. I am just pasting what I had on Codility.
// (TOP)
// |||||||| // |||r||||| | // |b|r|b|r|b|r|| | (GRAVITY) // |b|b|b|r|r|b|| v // |b|r|r|b|b|r|| // |r|b|b|r|r|r|b|
// (BOTTOM)
// _ _ _ _ _ _ _ _ _ r _ _ _ _ b r b r b r _ ... // 9_1r4_1b1r1b1r1b1r1_... // 9_r4_brbrbr_... // 9_r4_brbrbr_3b2rb_b2r2br_r2b3rb
javascript function decode_cfn_string(cfnString) { // TODO var parentArray = []; var row = []; for (let i = 0; i <= cfnString.length; i++) { console.log(cfnString[i]); if (i % 7 === 0 && row.length > 7) { row = []; } if (!isNaN(cfnString[i])) { if (cfnString[i].length <= 7) { for (let j = 0; j < parseInt(cfnString[i]); j++) { row.push(cfnString[i + 1]); } if (row.length === 7) { parentArray.push(row); } } } } }
decode_cfn_string('9_r4_brbrbr_3b2rb_b2r2br_r2b3rb');
// Expected output structure: // [ // ["", "", "", "", "", "", ""], // ["", "", "r", "", "", "", "_"], // ... // ]
The following metrics were computed from 304 interview experiences for the Palantir Software Engineer role in United States.
Palantir's interview process for their Software Engineer roles in the United States is extremely selective, failing the vast majority of engineers.
Candidates reported having good feelings for Palantir's Software Engineer interview process in United States.