Epic Systems Interview Question Software Engineer / Developers
0of 0 votesif apple is for 40 cents, banana is for 60 cents and grapefruit is for 80 cents then what pear is for???
Country: India
Interview Type: Phone Interview
Seems like if you're sorting in 20 cent increments and this is the entire set of fruits,
If you sorted 'em by alphabetical order, pear could be $1.
If you wanted to do it by word length, pear could be 20 cents for having the least letters.
And then if you wanted to make it 20 cents per vowel... 40 cents.
Why couldnt this answer be like
apple -> total alphabets 5 -> 5*8 = 40;
banana -> total alphabets 6 -> 6*10 = 60;
grapefruit -> total alphabets 10 -> 10 * 8 = 80;
so, pear -> total alphabets 4 -> 4 * 10 = 40;
even i arrive at same answer ;)
so you've taken the number of "alphabets" [sic] and multiplied them by a random number you've plucked out of the air?
Some people seem to really overcomplicate questions like this.
Surely, we can't tell what price a pear will be? If they told us this was a sequence, and that we could predict the next value in the sequence, then we could say it is 100 cent, but the question as it stands could do with clarification.
it can be like this:-
APPLE-- 5character(multiple of 5)=5*8=50
BANANA-- 6 characters(multiple of 2)=6*10=60
GRAPEFRUIT--10 characters(multiple of 5)=10*8=80
so PEAR -- 4 characters(multiple of 2)=4*10=40

40 = 20* number of vowels
- Cerberuz on August 20, 2012 Edit | Flag Reply