Skip to content

Updated READMe#39

Open
sakshamceoo wants to merge 6 commits intoabhinandankumar403:mainfrom
sakshamceoo:main
Open

Updated READMe#39
sakshamceoo wants to merge 6 commits intoabhinandankumar403:mainfrom
sakshamceoo:main

Conversation

@sakshamceoo
Copy link
Contributor

No description provided.

Given two vessels, one of which can accommodate a liters of water and the other which can accommodate b liters of water, determine the number of steps required to obtain exactly c liters of water in one of the vessels.

At the beginning both vessels are empty. The following operations are counted as ‘steps’:

emptying a vessel,
filling a vessel,
pouring water from one vessel to the other, without spilling, until one of the vessels is either full or empty.
Please merge 1 more PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant