## Ebay Interview Question for Software Engineer / Developers

Country: United States

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

The question is ill defined. No unit for 10x10x10 and no thickness for penny. Therefore, the answer is Yes and No.

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

you dont need thickness. If you consider each penny as a square with egde of half inch, total volume for pennies is 15*(0.5/12)*(0.5/12) = 8640. Volume of room is 1000 ft^3. So the answer is NO.

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

why 15*(0.5/12)*(0.5/12) = 8640?

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

this is because 0.5 is in inches and we need to convert it into Feet, 1 feet=12 inches.

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

What units are the room dimensions in? Inches?

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

room dimensions are in feet.

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

400 pennies can fit into an area of 100*100, then if we put the pennies together it would have 15 feet of height, so as the height of room is 10, 15feet/400 =would be the height of pennies if we put 400 pennies in each level. so 15*12/400=0.45 so they will fit in the room

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

You don't have to assume the penny as square. You can think the stack of pennies as a cylinder whose height and diameter is given. So one can easily find the volume of this cylinder here. V = pi*r*r*h where r = 0.25/12 (r =d/2 = 0.5/2) and h = 15.

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.