InMobi Interview Report
- 0of 0 votes
Answersgiven an array of positive integers and that you are allowed to change the sign of any of the integers whenever you require.
write a program to calculate the minimum sum of this array.
the sum should be >=0.
for example :Array = {1,2,4,5} then sum = 0 as we change sign of 1 and 5{-1,2,4,-5
}
Another Example :Array = {1,2,4,5,6,17,20}, sum = 1 with {1,2,-4,5,-6,-17,20
}
- sonesh November 22, 2012 in United States| Report Duplicate | Flag | PURGE
InMobi Software Engineer / Developer Algorithm - 0of 0 votes
Answersgiven a set of coordinates (a,b), (d,e)... etc.
- sonesh November 22, 2012 in United States
write a program to find Slope and Intercept of a line such that max points from those specified pass through the line.| Report Duplicate | Flag | PURGE
InMobi Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.