Epic Systems Interview Question
Software Engineer / DevelopersCountry: 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.
You numbnuts.....you signed a contract agreement with Epic not to disclose these interview questions.
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
so you've taken the number of "alphabets" [sic] and multiplied them by a random number you've plucked out of the air?
40 = 20* number of vowels
- Cerberuz August 20, 2012