Kalido Interview Question for Software Engineer / Developers


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
4
of 4 vote

3L 5L
-----
0  5  - fill 5l
3  2  - fill 3l from 5l
0  2  - throw away 3l content
2  0  - fill 3l from 5l
2  5  - fill 5l
3  4  - fill 3l from 5l

- Anonymous October 11, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
4
of 4 vote

1. Fill 3L bucket FULL.
2. Transfer this water to 5L bucket. It now has 3L.
3. Fill 3L bucket FULL again.
4. Transfer to 5L bucket till it fills completely. Now 3L bucket has 1L.
5. Throw away 5L of water.
6. Transfer 1L water from 3L to 5L
7. Fill 3L bucket FULL again.
8. Transfer to 5L bucket to get 4L in the bucket.

- Anonymous October 13, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

ethu oru puzzle. romba mattamas eruku. chai!!!!!!!!!!!!!

- Anonymous December 06, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

its too complicated...
the easy one..
1.fill 5 lt., bucket.
2.Take out 3 lt. from it using another bucket of 3 lt.
3.5-3=2 lt. left in 5 lt. bucket
4.Empty the 3 lt. bucket and transfer this 2 lt. in 3 lt. bucket.
5.now in last fill the 5 lt. bucket full and fill the 3 lt. bucket

left in 5 lt.bucket=5-1=4


:)

- abh007 July 26, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

5 fill -> 3 mein dalo--> 5 mein 2 reh jaayega--> 3 khaali karke usme 5 kaa 2 dal do---> ab 5 poora bhar do---> empty 1 into 3

- Shankar October 11, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Sorry thats in hindi translating to english
Fill 5 L bucket -> Pour it in 3L bucket --> 5L bucket has 2L liquid--> Empty 3L bucket and pour the 2L liquid from 5 L bucket to 3L bucket ---> Now fill 5L bucket---> empty 1 into 3L bucket

- Shankar October 11, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

A = 5L bucket, B = 3L bucket
1. Fill A with one B.
2. Try filling the 2L space in A with another B. We are left with 1L in B.
3. Empty A and Fill it with 1L
4. Then fill A with complete B

- topcoderneo October 11, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

First fill 5L with 3L two times.
After filling the 5L completely 3 will contain 1 lit.
Now empty 5L and add this 1L in that.
Now fill 3L and pour it in 5L.
5L bucket now contains 4L.

- Smith November 06, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1. Fill 3L bucket FULL.
2. Transfer this water to 5L bucket. It now has 3L.
3. Fill 3L bucket FULL again.
4. Transfer to 5L bucket till it fills completely. Now 3L bucket has 1L.
5. Throw away 5L of water.
6. Transfer 1L water from 3L to 5L
7. Fill 3L bucket FULL again.
8. Transfer to 5L bucket to get 4L in the bucket.

- lovelyviny February 16, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Well come up with an answer without wasting water !

- SR February 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Well come up with an answer without wasting water !

- SR February 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Well come up with an answer without wasting water !

- SR February 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Without wasting the water.. here is a solution:
1. Fill 3L bucket FULL.
2. Transfer this water to 5L bucket. It now has 3L.
3. Fill 3L bucket FULL again.
4. Transfer to 5L bucket till it fills completely. Now 3L bucket has 1L.
5. Pour the remaining 1L to 4L bucket.
6. Fill 3L bucket FULL again and pour to 4L Bucket.

- Praveen April 30, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Did you got 4L bucket from your home :-) I think that is not allowed.

- Anonymous February 17, 2016 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

first pour 5 ltr bucket water in 3 ltr bucket then 2 ltr remains in the 5 ltr bucket. Empty the 3 ltr bucket and pour that remaining 3 ltr water in it. and again fill 5 ltr bucket and pour 1 ltr water in the 3 ltr bucket which has currently 2 ltr. so in 5 ltr bucket 4 ltr is remains.

2 ans:

pour 3 ltr in 5 ltr bucket
now there is 3 ltr in 5 ltr bucket
again pour 3 ltr bucket water in 5ltr then 1 ltr remains in 3 ltr
empty the 5 ltr bucket and then pour the 1 ltr of 3 ltr bucket
now 5 ltr bucket has 1 ltr
pour 3 ltr bucket in it
Now 5 ltr bucket has 4 ltr

- Anonymous July 23, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

take half of water from each i.e. 1.5 from 3 lit and 2.5 from 5 lit will result into 4lit water with u. simple n easy,...

- Anonymous January 06, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Nice way,water isn't wasted ..

- Ben February 08, 2017 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

{ Good way..! Water isn't wasted.

- Ben February 08, 2017 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

two buckets
3L and 5L bucket
3L bucket fill full in 5L bucket and check in 5L bucket in total 3L water and same process and check in 5L bucket in 5L water and in 3L bucket in 1L water after that empty 5L bucket and add 3L bucket in 1L water and again fill full 3L bucket in 5L bucket so total in 5L bucket in 4L water

- Anonymous July 30, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

lol

- hkgjgh May 11, 2019 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Take two identical containers greater than 4lts. Fill the 5lts completely and the 3 lts completely. Pour till both are equal. 8/2=4

- ... July 12, 2019 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Well I will buy a container which have mark on it rather then wasting of water.

- Mukul Gupta March 21, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I would rather buy the marked container rather then wasting water

- Mukul Gupta March 21, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

fill 5 Litres and 3 Litres and then make both the bucket's half. = 2.5+1.5 =4 litres. That is how you can calculate

- Another way to do :) September 06, 2021 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

There are only 2 containers

- Anonymous July 26, 2022 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

4Lis the sum then

- InstalledBlaah November 17, 2022 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

2L twice at 4L

- C.Quarles90 November 17, 2022 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1. Fill 3L bucket FULL.
2. Transfer this water to 5L bucket. It now has 3L.
3. Fill 3L bucket FULL again.
4. Transfer to 5L bucket till it fills completely. Now 3L bucket has 1L.
5. Throw away 5L of water.
6. Transfer 1L water from 3L to 5L
7. Fill 3L bucket FULL again.
8. Transfer to 5L bucket to get 4L in the bucket.

- Vikrant Borkar February 06, 2023 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

Anothe way to do :)

Fill 5L bucket and then pour from it to 3L bucket. Now u get 2L back in 5L bucket.
Do this twice to get 4L

- Ram October 13, 2011 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More