Given an array of amount of fuel in 3 types of tank of O2, H2 and Petrol say [4,5,6], you are allowed to use up only one of only 2 type of the fuels at each step, Telll how many minimum step will need .
Be the first one to answer
Add answer anonymously...
Popular interview questions of Sdet Engineer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app