Software Developers Interview Questions

96,181 software developers interview questions shared by candidates

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?

Given a list of ranges sorted in order i.e. <5,10><15,20><25,35> , insert a new range <x,y>. If new range overlap with existing range then need to merge overlapping ranges. I.e. if <x,y> = <7,17> resulting list should be <5,20><25,35>
avatar

Full Stack Software Developer

Interviewed at Ritual

4
Aug 17, 2017

Given a list of ranges sorted in order i.e. <5,10><15,20><25,35> , insert a new range <x,y>. If new range overlap with existing range then need to merge overlapping ranges. I.e. if <x,y> = <7,17> resulting list should be <5,20><25,35>

write a program on C/C++/Java for printing the floyd triangle, count the given character in string, reverse the string, auto capitalization of words in string, find the largest of three nos . code for sum of each digit of a given no. ,Query for Second maximum salary in SQL, difference between count&count(*), function overloading and overriding example, SQL joins venn diagram .
avatar

Software Developer

Interviewed at Neeyamo Enterprise Solutions

4.2
Sep 13, 2018

write a program on C/C++/Java for printing the floyd triangle, count the given character in string, reverse the string, auto capitalization of words in string, find the largest of three nos . code for sum of each digit of a given no. ,Query for Second maximum salary in SQL, difference between count&count(*), function overloading and overriding example, SQL joins venn diagram .

Viewing 481 - 490 interview questions

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