MISSING VALUE Interview Questions

6,571,202 interview questions shared by candidates

You’re given a board game which is a row of squares, each labeled with an integer. This can be represented by a list, e.g. [1, 3, 2, 0, 5, 2, 8, 4, 1] Given a start position on the board, you “win” by landing on a zero, where you move by jumping from square to square either left or right the number of spaces specified on the square you’re currently on. Your task is to implement the function: def can_win(board, pos): returns True if you can win the board from that starting pos, False otherwise
avatar

Software Engineer

Interviewed at Pinterest

3.6
Aug 20, 2015

You’re given a board game which is a row of squares, each labeled with an integer. This can be represented by a list, e.g. [1, 3, 2, 0, 5, 2, 8, 4, 1] Given a start position on the board, you “win” by landing on a zero, where you move by jumping from square to square either left or right the number of spaces specified on the square you’re currently on. Your task is to implement the function: def can_win(board, pos): returns True if you can win the board from that starting pos, False otherwise

given a number as a string write a algorithm to map to its oral description. I.e. "1" -> "11" //this can be thought of as there is one one. "11" -> "21" // there are two ones "21" -> "1211" // there is one two and one one "1211" -> "111221" ect. //there is one one, one two and two ones
avatar

Software Engineer

Interviewed at Dropbox

3.9
Nov 5, 2011

given a number as a string write a algorithm to map to its oral description. I.e. "1" -> "11" //this can be thought of as there is one one. "11" -> "21" // there are two ones "21" -> "1211" // there is one two and one one "1211" -> "111221" ect. //there is one one, one two and two ones

How many words are in a good sentence? This was asked by an absolute idiot who was rude. This is also incorrect and she insisted this was correct, despite having never been a writer professionally in her life (her admission). Oh well, just remember the answer I guess.
avatar

Senior Technical Writer

Interviewed at Unisys

3.5
May 1, 2012

How many words are in a good sentence? This was asked by an absolute idiot who was rude. This is also incorrect and she insisted this was correct, despite having never been a writer professionally in her life (her admission). Oh well, just remember the answer I guess.

Viewing 3131 - 3140 interview questions

Glassdoor has 6,571,202 interview questions. Prepare for your interview. Get hired. Love your job.