yahoo software engineer interview questions

Now there can be two solutions to the given situation because there can be two situations: Suppose if B and C have same colors, A will know that his color is the other one and he will be able to speak up the first. Now if B and C do not have same colors, A will stay silent. This will tell B that his and Cs colors are different. Thus he will speak up first. So either A or B will speak up first depending on the situation.

1. Fill 5 liters jar ( 5l-jar:5, 3l-jar:0) 2. Transfer to 3 liters pail (5l-jar:2, 3l-jar:3) 3. Empty 3 liters jar ( 5l-jar:2, 3l-jar:0) 4. Transfer 2q from 5 pail to 3 pail (5l-jar:0, 3l-jar:2) 5. Fill 5 liters pail(5l-jar:5, 3l-jar:2) 6. Transfer 1q from 5 pail to 3 pail(5l-jar:4, 3l-jar:3)

David to play second Explanation: Lets suppose that David plays first and he picks 9. Then Albert will definitely pick 8. Now, David will have to pick 7 or Albert will pick 7 in his turn. But if David picks up 7, then he will score 16 that is beyond 15 and will lose. So one thing is for sure, no one will be willing to start with the highest digits. Suppose David plays first and picks up 1, Albert will pick 2. Then David will pick 3 and Albert will pick 4. Now David will be forced to pick 9. The score is 6 to 13 and thus David will have no chance of winning. If David Picks 9 after Albert has picked up 2, then Albert will pick 8 and the score will become 10 to 10. Thus David will pick 3 as picking 7 will send him past 15. Now Albert will pick 4 and David has nothing to pick for winning. Thus Albert wins. Therefore, you should suggest David to play second.

At each draw, the number of strawberry candies are either decreasing by 2 or not decreasing at all. In the case of orange candies, at each draw, they are either increasing by 1 or decreasing by 1. Thus on an assumed outset with at least one candy in the jar to begin with, if the number of strawberry candies are 0 or are even in numbers, they will finish off leaving an orange candy at the end. If otherwise, the remaining candy will be a strawberry one.

f the last elf is taking some time to answer the question then it shall mean that the elfs before him are all wearing distinct coloured hats. However sufficient time shall be given to the last elf to give the answer. If he views the similar coloured hats in front of him , he shall quickly tell the answer


Welcome to Interviewbit, help us create the best experience for you! Currently, You are a:

Yahoo! began its journey at Stanford University. Jerry Yang and David Filo, both Electrical Engineering graduate students at the time, launched it in January 1994 with a website called “Jerry and Davids Guide to the World Wide Web.”

Rather than a searchable index of content, the Guide was a directory of other websites structured in a hierarchy. Jerry and Davids Guide to the World Wide Web was renamed “Yahoo!” in April 1994. The word “YAHOO” is an acronym for “Yet Another Hierarchically Organized Oracle” or “Yet Another Hierarchical Officious Oracle.” On January 18, 1995, the domain was launched.

Yahoo Inc. is a multinational corporation headquartered in California, United States. It is well recognized for the following:

  • Yahoo! Search search engine
  • Online mapping.
  • Video sharing.
  • Other related applications.
  • At Yahoo, there is a mentality of “work hard, play hard.” The company promotes teamwork by providing video games and foosball, as well as throwing company parties to celebrate achievements and milestones.

    Yahoo has thousands of job vacancies around the world. The following are some of the most common technical openings:

  • Web Developers.
  • Software Engineers.
  • Managers of technical projects and programs.
  • Quality Assurance Engineers.
  • Network Engineers.
  • System Administrators.
  • For more information, check out this

    The Yahoo Company interview rounds are need-based. The necessary and default rounds are the same regardless of the applicant pool.

  • Interview Process
  • Technical Round
  • HR Round
  • Final Round (Personal Interview or Telephonic)
  • Short Test (Online or Written Test): The written interview is divided into two parts: aptitude and technical. Data-Structures, Algorithms, Networking, and DBMS are the most common technical questions asked in the test.
  • Technical Round: Interviews with Technical Experts There would be a series of technical interviews after the written round gets completed. Candidates must be proficient in the fundamentals. Questions in this phase are typically connected to operating systems and computer networking; candidates will also be expected to work on programs and be interrogated on information from their resumes.
  • HR round: HR Interview typically consists of questions from your résumé, brief explanations about yourself, your strengths and weaknesses, and your reason for interviewing with Yahoo.
  • Final Round (personal interview or Telephonic): Aspirants who pass all of the following phases will be invited to a final interview, which may be conducted over the phone or in person.
  • Technical Interview Questions For Freshers At Yahoo To cross this stage without any confusion, the applicant must be confident and tension-free. We did our best to compile all important information in this single section to help you improve your understanding on your core subjects. Interview Questions related to DBMS

  • What is a Database Management System (DBMS)?
  • What are the drawbacks of using a file-processing system?
  • What are the three different layers of data abstraction?
  • What is the definition of normalization?
  • What exactly is the E-R model?
  • What exactly is a data model?
  • Whats the difference between multitasking and multithreading?
  • Define demand paging, page faults, replacement methods, thrashing, and other terms related to paging on demand.
  • What is the difference between paged segmentation and segment paging?
  • Which command would be used to copy the entire diskette on a PC running DOS?
  • What is the definition of an entity?
  • What is DML Compiler and how does it work?
  • What is the purpose of a query evaluation engine?
  • What does it mean to be fully functionally dependent?
  • What is concurrency control and how does it work?
  • What exactly is 4NF?
  • What is a Stored Procedure, and how does it work?
  • What are the components of a relational database management system (RDBMS)?Describe the situation.
  • Explain the differences between an intranet and an extranet.
  • How many types of relationships exist in database designing?
  • What is Hashing technique?
  • In this round too the interviewer started with a question on networking and once again I told him the same answer. Then he asked me questions from data structure. One of them was difference between merge sort and quick sort. Which one would you prefer and why? Do you really need the auxiliary space in merge sort?

    This was an HR round. Basically personal questions were asked. One question that was disturbing was what would be that 1 company given an option you would flunk yahoo. Initially I was bit diplomatic and answered “ I always wanted to get in any one of amazon, Microsoft, adobe or yahoo (the big 4 who come to my college). And I have been eliminated from amazon 2 days ago”. Then honestly answered him but if I really have an option I will choose MS.

    My solution:- I calculated the weighted average of the 3 features and assumed them to be a point on x-axis. Scaled down the prices by a factor of 1000 and assumed it to be y-axis. Now whenever an input was given I simply found out the 3 closest points from the given phone’s co-coordinates.

    First of all a big thanks to the geeksforgeeks team. It has been the biggest help in my preparation. Till 5th july i could not write a simple program of tree traversal. But just the arrays, linked list, tree, string, DP and backtracking tabs of g4g helped me reach the interview rounds of Amazon (i was eliminated though) and getting placed at Yahoo. Following is the list of my interview questions.

    Question 2: Given below is a list of smart phones with price and a set of features (app,style,speed) rated in a scale of 0 to 9. You might want to normalize the price on a scale 0-9 where 9 is the maximum price of all phones in the list. Write a program that will take a phone as input and output the three most similar phones. For comparing phones use price and a weighted score of all features as distinct dimensions.

    Related Posts

    Leave a Reply

    Your email address will not be published.