Software Developers Interview Questions

96,343 software developers interview questions shared by candidates

1st Round: Consider an array of 5 elements. You must create a new array such that at a given position 'i', the number should be product of all elements of original array except the 'i'th element. You have to solve this in least number of iterations possible.
avatar

Junior Software Developer

Interviewed at CONTENTSERV

3.1
Jan 2, 2016

1st Round: Consider an array of 5 elements. You must create a new array such that at a given position 'i', the number should be product of all elements of original array except the 'i'th element. You have to solve this in least number of iterations possible.

A scatter graph of points on a page, draw a horizontal line across the page such the the perpendicular y distance to the line from all points in aggregate is minimised. Describe an algorithm for placing this line optimally?
avatar

Software Developer

Interviewed at GSA Capital

4.7
May 26, 2015

A scatter graph of points on a page, draw a horizontal line across the page such the the perpendicular y distance to the line from all points in aggregate is minimised. Describe an algorithm for placing this line optimally?

Viewing 471 - 480 interview questions

Glassdoor has 96,343 interview questions and reports from Software developers interviews. Prepare for your interview. Get hired. Love your job.