Yahoo Interview Questions
- 0of 0 votes
AnswersWhat are the three types of basic variables in Perl?
- Telephonic Screen September 05, 2008
What would you use to see if a file exists?| Report Duplicate | Flag | PURGE
Yahoo Production Engineer Perl - 0of 0 votes
AnswerWhat is "group by"?
- The Hercules September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Database - 0of 0 votes
AnswerDifference between inner join & outer join
- The Hercules September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Database - 0of 0 votes
AnswersDifference between final & finally
- The Hercules September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Java - 0of 0 votes
AnswersWhat is the significance of virtual destructor?
- The Hercules September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer C - 0of 0 votes
AnswerDiscussion on virtual inheritance
- The Hercules September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer C - 0of 0 votes
AnswersDifferent ways to pass parameters to a function (by value, by reference, by pointer). for the following cases.
- The Hercules September 01, 2008
6.1 Basic data type (int, char etc)
6.2 Array of integers
6.3 an object of Structure
6.4 an object of a class
Discussed about possiblities of passing constant argument values (by reference, by pointer etc) & their syntax| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Java - 0of 0 votes
AnswersWhat is the effect by keeping a constructor private? (in terms of inheritance)
- The Hercules September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Java - 0of 0 votes
AnswersDiference between deep copy & shallow copy
- The Hercules September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer C - 0of 0 votes
AnswersDifference between Malloc vs Realloc
- The Hercules September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer C - 0of 0 votes
AnswersGiven a regular expression and a text, find the min no of replacements to be done.
- sriram.s September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 0of 0 votes
AnswersCheck if there is a common node in 2 linked lists.
- sriram.s September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Coding Algorithm - 0of 0 votes
AnswersHow to find min element in a stack in O(1), where the only operations are Push and Pop.
- sriram.s September 01, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 0of 0 votes
AnswersSwap two numbers without using a temporarily variable.
- mp July 22, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Coding - 0of 0 votes
AnswersDesign an algorithm and write code to find the common ancestor of two nodes in a tree
- mp July 22, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Coding Algorithm - 0of 0 votes
AnswerDescribe what a singleton is and when you would use it.
- mp July 22, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Terminology & Trivia - 0of 0 votes
Answerswrite a program that accepts two mandatory arguments without using any built in date or time functions . The first argument is a string "[HH:MM {AM|PM}" and the second argument is an integer which denotes minutes. The minutes get added to the string. The return value or output of the program should be a string of the same format as the first argument. For example AddMinutes("10:23 AM", 13) would return "10:36 AM
- rover June 11, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer - 0of 0 votes
AnswersHow do you programitcally create & terminate a process on linux
- The Hercules May 26, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer C - 0of 0 votes
AnswersWhat's the difference between mergesort and quicksort? When would you use each?
- mp April 10, 2008| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Terminology & Trivia Algorithm - 0of 0 votes
AnswersYou have a large text file. Given any two words, find the shortest distance(in terms of number of words) between the two given words in the file. Can you make the searching operation in O(1) time? what about the space complexity for your solution?
- Nawin January 22, 2008
Ex:
File contains:
as was is the as the yahoo you me was the and
Words given: the, was
Answer should be: 0
If Words given: you, the
Answer: 2| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 0of 0 votes
AnswersRecently in one of my interview i faced a question with Cube.The question goes like this.
- asdf September 26, 2007
Draw a cube,on each of the 8 nodes binary numbers is represented.(am helpless since, actually diagramatic presentation will make it sense)
The interviewer now wants to know why or in what fashion he represents the nodes with the binary digits?| Report Duplicate | Flag | PURGE
Yahoo Testing / Quality Assurance Brain Teasers - 0of 0 votes
AnswersFind the Mth last element of a singly linked list in the best possible time and most efficient use of memory.
- OneMSWay June 07, 2007| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 0of 0 votes
AnswersGiven a Binary Search Tree, find its depth.
- OneMSWay June 07, 2007| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 3of 3 votes
AnswersGiven a value and a binary search tree.
- vodangkhoa April 24, 2007
Print all the paths(if there exists more than one) which sum up to that value. It can be any path in the tree. It doesn't have to be from the root.| Report Duplicate | Flag | PURGE
Microsoft Yahoo Software Engineer / Developer Trees and Graphs Coding Algorithm - 0of 0 votes
AnswersDesign a chat server
- chiranjib February 27, 2007| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Application / UI Design Object Oriented Design - 0of 0 votes
AnswerDescribe TCP Hand-shake and optimize SQL.
- LlSs January 31, 2007| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Networking / Web / Internet