Software Development Interview Questions

36,991 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.

Questions were not difficult but my English was a little bit poor. Also my solutions were the first solutions that came to my mind and I think they asked for a better algorithm for the Development Lead position. Questions were: You have 3 integer arrays, find the common items that exist in at least two of the arrays; Write a program to create a histogram of the top 5 most used words in a file.
avatar

Software Development Lead

Interviewed at Booking.com

4.1
Jul 28, 2014

Questions were not difficult but my English was a little bit poor. Also my solutions were the first solutions that came to my mind and I think they asked for a better algorithm for the Development Lead position. Questions were: You have 3 integer arrays, find the common items that exist in at least two of the arrays; Write a program to create a histogram of the top 5 most used words in a file.

Viewing 751 - 760 interview questions

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