Palantir/Palo Alto/SDE/店面+昂塞/应届

现在是New grad应届生
面试职位是 Palantir SDE
地点是 Palo Alto, CA


product introduction, self introduction
merge intervals

card game
given a deck of card and several players
for each round, player win if the very first card in hand is larger than others
if tied, compare the fifith card
winner of each round collect cards from rest of participants
write the code to simulate the game
distributed tiny url, discussed about sharding, availability problem
resource access control
resource represented as tree structure
given two api revoke(resourceId), grant(resourceId)
if the resource got revoked/granted, all its child resources get revoked/granted
implement hasAccess(resourceId)
Nice product introduction during break of interview.