## Infosys Interview Question Software Engineer / Developers

• 0

There are 3 societies a, b, and c. A lent tractors to B and C as many as they had. After some time B gave as many tractors to A and C as many as they have. After sometime c did the same thing. At the end of this transaction each one of them had 24.
Find the tractors each originally had.

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

A = 39, B = 21, C = 12.
You work your way backward by dividing the 24 tractors that A and B are left with by 2.
Key to solving this problem is that the number of tractors always remains the same: 72. This allows you to fill in blanks at T-1, T-2 and T-3

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

the solution is in the question itself just we need to see the question seriously

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

At the end of transaction
A B C
T3 24 24 24

T2 24-24/2 24-24/2 24+12+12
12 12 48

T1 12-12/2 12+6+24 48-48/2
6 42 24

T0 6+42/2+24/2 42-42/2 24-24/2
39 21 12

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

this can also b solved by a simple method - 3 linear eqns in 3 variables...

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

beautiful soln Sanjay.....awesomeee

Name:

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

### Books

is a comprehensive book walking you through every aspect of getting a job at a top tech company, while focuses on software engineering interviews.

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