There are N petrol pumps along a circular path. Every petrol
pump gives some amount of fixed petrol. Need not to be
unique and in no particular order means it is random. We
have a car and we need to find a petrol pump which can
provide so much of petrol that we can take a full round of
the circle. Mileage of car is fixed.

Answer Posted / tsunil

The solution of this question is discussed on
http://ticsonline.com/algorithms.html#1

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the integral value of 1/((ax+b)pow(-8))?

598


write a program to find out the divisor of a given integer number. Sample input:50 Sample output:2,5,10,25

2002


Replicon company exam papers

453


Define homogenous function of x and y with degree n.

576


What is multicollinearity?

2545






If perfect numbers, except 6, can be expressed by the sum of the cubes of an unbroken sequence of consecutive odd integers, what are the consecutive odd integerswhich, when cubed, give the perfect number 28?

542


Simplify e(3!*5!*6!*3!=3110400)

576


How will you calibrate an absolute pressure transmitter vaccum manometer range 0-400mmhg ABS

1091


The babylonian number system is base 60, which makes it.

618


P and Q are positive integers with their averagfe 15, find how many different values can one take

576


State and prove the sufficient condition for the maximum value of the function f (x,y)

540


What is the value of 2.904+0.0006=___

601


The hands of clock coincide after every 66 min of correct time. How much does the clock gain or lose in a day.

678


Computer printer produces 176400 lines in a given day. If the printer is in operation for 7 hrs during the day how many lines did it print per minute?

548


In a normal distribution, approximately what percentage of the cases, to the nearest whole number, falls within 4 standard deviations of the mean.

503