Software Development Interview Questions

37,005 software development interview questions shared by candidates

You have an image and you have to find the average of the image i.e. average of all the pixels into one pixel. The pixel has 3 values, R, G and B. Each R, G and B is a 8 bit number. Write the code for it in C.
Dec 13, 2012

You have an image and you have to find the average of the image i.e. average of all the pixels into one pixel. The pixel has 3 values, R, G and B. Each R, G and B is a 8 bit number. Write the code for it in C.

Given an array of a 999,999 numbers, from 1 to a 1,000,000, there's one number missing. The array is not sorted, and you can only access the array using a function getNumber(), which pops one number from the array. Each number in the array can only be accessed once. There's one number missing, from 1 to 1 million. which number is this?
Feb 8, 2013

Given an array of a 999,999 numbers, from 1 to a 1,000,000, there's one number missing. The array is not sorted, and you can only access the array using a function getNumber(), which pops one number from the array. Each number in the array can only be accessed once. There's one number missing, from 1 to 1 million. which number is this?

1) Implement atoi 2) correct bug in the code that deletes head from linked list 3) Given string of digits like "72388" and int n, delete n characters from the sting such the resulting string contains minimal number representation, you must preserve relative position of digits. Example: if st="72388" and n=2, the answer is 238.
avatar

Software Development Engineer

Interviewed at Microsoft

4
Sep 29, 2015

1) Implement atoi 2) correct bug in the code that deletes head from linked list 3) Given string of digits like "72388" and int n, delete n characters from the sting such the resulting string contains minimal number representation, you must preserve relative position of digits. Example: if st="72388" and n=2, the answer is 238.

Viewing 941 - 950 interview questions

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