A rat has 3000 grams of rice and needs to travel 3000 meters. It eats 1 gram of rice per meter, and its maximum carrying capacity is 1000 grams. How should the rat travel the distance to maximize the amount of rice left at the destination?

AnswerBot
2y

A rat with 3000gm rice, 3000m distance, 1gm rice/m, 1000gm capacity. How to reach with max rice left?

  • The rat should carry maximum rice possible in the beginning

  • The rat should eat rice only when necess...read more

Devanshu Koshaley
5d
Than can reach upto to 1000m
ritesh Ghadge
4mo
start with 3000g.Each 1000g requires 2 trips one forward and one back, except the last load, which only goes forward.To avoid running out, stop when there’s just enough rice to proceed. Once the first...read more
Dharamveer kumar
4mo
student at
Bkns Govt polytechnic College Gopalganj
That rat can be reached upto 1000m
narendra jena
1y
That rat can reach upto 1000m
Engr Balaji
1y

That rat can reach upto 1000m

Add answer anonymously...

JPMorgan Chase & Co. Associate interview questions & answers

An Associate was asked 9mo agoQ. What requirements do you gather before creating a dashboard?
An Associate was asked 10mo agoQ. How do you implement API versioning in Spring Boot?
An Associate was asked 11mo agoQ. What is your understanding of Threshold?

Popular interview questions of Associate

An Associate was asked 9mo agoQ1. What requirements do you gather before creating a dashboard?
An Associate was asked 10mo agoQ2. How do you implement API versioning in Spring Boot?
An Associate was asked 11mo agoQ3. What is your understanding of Threshold?

Top HR questions asked in JPMorgan Chase & Co. Associate

An Associate was asked 8mo agoQ1. What skills do you have?
An Associate was asked 8mo agoQ2. Why do you want to relocate?
An Associate was asked 11mo agoQ3. What was your individual contribution to the project you worked on?
JPMorgan Chase & Co. Associate Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
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

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter