Software Development Interview Questions

37,298 software development interview questions shared by candidates

Flood-fill game. Given a 2D screen, location of a pixel in the screen and a color, replace color of the given pixel and all adjacent same colored pixels with the given color. Input is a 2D matrix, xth and yth of the pixel and the target color. The output should be the 2D matrix after this flood fill game.
avatar

Software Development Engineer

Interviewed at Snap

3.3
Dec 27, 2017

Flood-fill game. Given a 2D screen, location of a pixel in the screen and a color, replace color of the given pixel and all adjacent same colored pixels with the given color. Input is a 2D matrix, xth and yth of the pixel and the target color. The output should be the 2D matrix after this flood fill game.

There are several patients with some boolean type attributes. how to present them in a data structure or in a table? follow up: there are nearly 1000 attributes, most of every patient's attributes value are false, only 4 to 5 are true, how to reduce the table space?
avatar

Software Development Engineer

Interviewed at Epic

3.3
Apr 6, 2015

There are several patients with some boolean type attributes. how to present them in a data structure or in a table? follow up: there are nearly 1000 attributes, most of every patient's attributes value are false, only 4 to 5 are true, how to reduce the table space?

Something along the lines of, if each finger on your hand is numbered 0-9, and each finger has certain keys on a keyboard associated with it, write code that when given a string of digits, such as "3251", prints out all strings that can be typed with each of those fingers typing a letter in that order. For example, in the string above, print all possible strings that can be typed from the 3rd finger typing a letter, then the second, then the 5th, and lastly the first.
avatar

Software Development Intern

Interviewed at Epic

3.3
Oct 27, 2017

Something along the lines of, if each finger on your hand is numbered 0-9, and each finger has certain keys on a keyboard associated with it, write code that when given a string of digits, such as "3251", prints out all strings that can be typed with each of those fingers typing a letter in that order. For example, in the string above, print all possible strings that can be typed from the 3rd finger typing a letter, then the second, then the 5th, and lastly the first.

Viewing 751 - 760 interview questions

Glassdoor has 37,298 interview questions and reports from Software development interviews. Prepare for your interview. Get hired. Love your job.