## Citrix System Inc Interview Question for Quality Assurance Engineers

• 0

Team: Xen-Client
Country: India
Interview Type: In-Person

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

fill 5 ltr jar and pour it in 3 ltr, so 2 ltr remains in 5 ltr jar.
Empty 3 ltr jar and pour 2 ltr from 5 ltr jar into it.
Now fill 5 ltr jar again and use it to fill remaining 1 ltr in 3 ltr jar. that keeps 4 ltr in 5 ltr jar

Comment hidden because of low score. Click to expand.
0

yes, that's the only answer possible..

Comment hidden because of low score. Click to expand.
0

@abh007
nop, thats not the only answer.. even though following has more steps, it does achieve the goal..
1> fill up 3 ltr jug -> pour it into 5 ltr jug
2> fill up 3 ltr jug -> pour as much as possible in 5 ltr jug
3> empty 5 ltr jug
4> pour 1 ltr remaining liquid from 3 ltr jug into 5 ltr jug
5> fill up 3 ltr jug again and pour it into 5 ltr jug.. now 5 ltr jug has 4 ltr liquid in it

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

1) fill the 2
2) 2 -> 5
3) repeat step 1 and 2

You will have 4 in 5. So, what is the point of this interview question?

Comment hidden because of low score. Click to expand.
0

I am sorry question is -> You have a 3 liter & 5 liter jugs and a tank of milk. So using these 2 jugs get 4 liter milk in 5 liter jug ?

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

i like the last line of the last answer and wonder why question and its original complicated answer

Comment hidden because of low score. Click to expand.
0

1. fill just a half of each jugs
3->1.5;
5->2.5)
2. pour jug 3 into jug 5, you will have 1.5+2.5=4

Comment hidden because of low score. Click to expand.
0

there is no measure of half MR.
try another method....

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

i hav water of 2 jugs with 21liters and 26liters jug?how to measure 3liters of water using that two jugs...

Comment hidden because of low score. Click to expand.
0

step 1 fill 26 put it into 21
step 2 empty 21 lt jug and fill it with rem ltr of 26
do this until u get 3 ltr left in 26 ltr jug........
approx in 21 times

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

1. Fill 2 litre
2.empty the 2 litre in 5 litre
3.again fill 2 litre
4.empty into 5 litre

Representation:

5 2
0 2
2 0
2 2
4 0

With no wastage

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.

### 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.