Yahoo Interview Report
- 0of 0 votes
AnswersA car has speed of 72 64 56 in downhill, plain and uphill respectively . A guy travels in the car from
- gullu September 12, 2010
Pt. A to pt. B in 4 Hrs and pt. B to pt. A in 4 Hrs and 40 min. what is the distance between A and B?| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere are set of ip address set of the form
- gullu September 12, 2010
10.10.10.10 - 20.20.20.20 -> cable, USA
20.20.20.21 - 33.32.31.30 -> DSL, Germany
.
.
.
250.250.250.250 - 256.256.256.256 -> cable, France
Which indicates all ip addresses between 10.10.10.10 to 20.20.20.20 are of type ‘cable’ and belong
to the country USA, similarly with other ip address set.| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 0of 0 votes
AnswersGiven an array in which elements are unsorted. Write an algorithm that gives two indices n1,n2 such
- gullu September 12, 2010
that if you sort just the elements of the array from n1 to n2, then the whole array will be sorted.| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 0of 0 votes
AnswersWrite a program to print the elements of a very long linked list in ascending order.
- gullu September 12, 2010
There may be duplicates in the list. You cannot modify the list or create another one.
Memory is tight, speed is not a problem.| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 0of 0 votes
AnswersGiven a maze with cheese at one place and a mouse at some entrance, write
- gullu September 12, 2010
a program to direct the mouse to cheese correctly. (Assume there is a path).
Following primitives are given: moveforward, turnright, turnleft, iswall?,ischeese?, eatcheese.| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer