Sunday, September 30, 2012
While travelling in a cycle race, there are several pit stops. A cyclist can travel upto 50 km without stopping at any pit stop, where he can have a health drink and refill his energy. Given a start point ’t’ and let ’k’ be the distance needed to be travelled by the cyclist, find an efficient algorithm to reach the destination ’d’ so as to have minimum pit stops and prove your algorithm is the most optimal one.
Labels:Data
Microsoft Interview
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment