Applied online and heard back from the recruiter the next day. A phone interview was set up for 2-3 days after. The interviewer was very polite and the interview involved coding on Collabedit. I wasn't asked to compile the code, but we did go over test cases and syntax. I later realized I had a bug in the code; maybe that's why I didn't get an onsite.
You're given a board game which is a row of squares, each labeled with an integer. This can be represented by a list, for example.
[1, 3, 2, 0, 5, 2, 8, 4, 1]
Given a starting position on the board, you "win" by landing on a zero. You move by jumping from square to square, either left or right, by the number of spaces specified on the square you're currently on.
Your task is to implement the function:
python def can_win(board, pos): # returns True if you can win the board from that starting pos, False otherwise
The following metrics were computed from 110 interview experiences for the Pinterest Software Engineer role in United States.
Pinterest'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 Pinterest's Software Engineer interview process in United States.