Preview

amazon interview question for freshers

Satisfactory Essays
Open Document
Open Document
359 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
amazon interview question for freshers
Amazon Interview | Set 1
August 24, 2012
Please find the details of my amazon interviews below.
Date of Interviews: 22nd August 2012
No of Rounds: 1 Written + 4 PI
Type of Interviews: Campus Interview for freshers

Written Test (Time): 90 Minutes
20 Objective Questions: Aptitude and basic C objective problems.
2 Subjective Questions:
I. To find if there is any root to leaf path with specified sum in a binary tree.
II. Some question based on sorting.

Interview Round 1(60-70 Minutes):
Technical Interview
Question 1: Check if a character link list is palindrome or not.
Question 2: A sorted array has been rotated r times to the left. Find r in least possible time.
Question 3: Clone a singly link list whose nodes contain, apart from next pointers, an extra pointer to any random node. The random pointer of a node N could be after N, before N or the node N itself.

Interview Round 2(50-60 Minutes):
Technical Interview
Question 1: There is a big file of words which is dynamically changing. We are continuously adding some words into it. How would you keep track of top 10 trending words at each moment?
Question 2: Write code for minHeapify() operation.
Question 3: Design a data structure for the following operations:
I. Enqueue
II. Dequeue
III. Delete a given number(if it is present in the queue, else do nothing)
IV. isNumberPresent
All these operations should take O(1) time.
Question 4: Write a function that returns the length of the longest leaf-to-leaf path in a binary tree.

Interview Round 3(60-70 Minutes):
Technical Interview
Question 1: There is a binary tree of size N. All nodes are numbered between 1-N(inclusive). There is a N*N integer matrix Arr[N][N], all elements are initialized to zero. So for all the nodes A and B, put Arr[A][B] = 1 if A is an ancestor of B (NOT just the immediate ancestor).
Question 2: Find an element in a sorted

You May Also Find These Documents Helpful

  • Good Essays

    Nt1420 Unit 6

    • 1145 Words
    • 5 Pages

    INSTRUCTIONS: 1. THERE ARE SIX (6) QUESTIONS IN THIS PAPER. 2. ANSWER FIVE (5) QUESTIONS ONLY. Question 1 Arrays are used when storing a large number of values. You are required to create an array named a and answer the following questions regarding array manipulation. a. Write a method fillRandom(int[] a, int min, int max), fill the array a with a random integer value. (Note: Math.random() returns a double in the range of 0.0 and 1.0, therefore it is cast to an integer number, between the minimum and maximum value). [6 marks] b. Write the Bubble sort method to sort array a into descending order. [10 marks] c. In the quicksort, an algorithm an element is chosen from the unsorted list. This element is called the…

    • 1145 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Nt1310 Unit 1 Test Paper

    • 381 Words
    • 2 Pages

    3. Create a binary search function that tells whether a given value exists in the tree or not.…

    • 381 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Lesson 4

    • 772 Words
    • 3 Pages

    4. You are the administrator of an Active Directory forest that contains a forest root domain with three child domains. How many of each FSMO does this forest contain?…

    • 772 Words
    • 3 Pages
    Better Essays
  • Good Essays

    Evolution Lab

    • 758 Words
    • 4 Pages

    4. You will notice that some lineages branched many times and are represented by many living species. Provide an example from your phylogenic tree of this rapid diversification.…

    • 758 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    8) What are you bringing to the agency? (Include 3 points relevant to the CYW field) * I believe that I will be bringing a positive atmosphere to Carpe Diem because I am a naturally happy and up beat person. I will be there to provide support and encouragement to the clients because I know that children and youth who are suffering from depression and sadness will not want to communicate with someone who looks and sounds the same…

    • 2066 Words
    • 9 Pages
    Satisfactory Essays
  • Good Essays

    Amazon case study

    • 787 Words
    • 2 Pages

    1-4. In what ways does Amazon, as a company, evidence the willingness and ability to collaborate?…

    • 787 Words
    • 2 Pages
    Good Essays
  • Best Essays

    Amazon.Com Case Study 3

    • 2696 Words
    • 11 Pages

    Forbes. (n.d.). Jeffrey P. Bezos Profile - Forbes.com. Corporate Executives & Directors Search Directory. Retrieved October 20, 2010, from http://people.forbes.com/profile/jeffrey-p-bezos/3987…

    • 2696 Words
    • 11 Pages
    Best Essays
  • Powerful Essays

    Amazon.com Case Study

    • 1314 Words
    • 6 Pages

    From its online bookstore launch in July 1995 till it went public in May 1997, the company…

    • 1314 Words
    • 6 Pages
    Powerful Essays
  • Better Essays

    Amazon Case Study

    • 1002 Words
    • 5 Pages

    Amazon.com SWOT Analysis (according to eRetailNews, The Internet Retailing Report, 2000; Titled: New vs. Old: The battle between traditional retail and dotcoms - Mini eRetail Scorecard)…

    • 1002 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Amazon.Com Case Study 5

    • 1249 Words
    • 5 Pages

    The main area we will look at is Amazons strategic management capabilities, we will look at the External factors that have influenced Amazons stratgey and the Opportunities and Threats this industru poses. We will also look at the strengths and weakenesses that Amazon have to address these threats and take advantage of the opportunites presented to them…

    • 1249 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Amazon Case study

    • 890 Words
    • 4 Pages

    In what ways does Bezos’s decision to develop and deliver the Kindle and Kindle Fire show systematic and intuitive thinking?…

    • 890 Words
    • 4 Pages
    Powerful Essays
  • Best Essays

    Amazon Case Study - 1

    • 1242 Words
    • 5 Pages

    In 2000, Amazon and Toys-R-Us entered into a symbiotic agreement that would benefit both corporate entities. Both companies had recently had unimpressive fiscal years due to differing issues. Toys “R” Us struggled with poor order fulfillment. Although they were equipped with enough merchandise, other issues kept them from being able to get orders to customers in a timely manner; especially during the busy holiday season. Conversely, Amazon was forced to write off $34 million because of a miscalculation in inventory and had orders that could not be honored (Ouchi, 2004). Following these debacles, both organizations felt that joining forces would assist both in fixing their respective issues.…

    • 1242 Words
    • 5 Pages
    Best Essays
  • Better Essays

    Amazon Case Study

    • 1217 Words
    • 3 Pages

    Amazon is a true story of how to set up shop inside of a garage and create a company that will revolutionize the retail industry. Jeff Bezos did just that. He started his, 35th ranked Fortune 500 Company in his garage. He created a new media for the world to use to by books. Anyone could order books, and later; CD’s, clothing, electronics, and close to everything that anyone could think of. All at the click of a mouse. One’s order was immediately spent and a couple of days later the item that they ordered would be delivered right to their doorstep. They do not even need to get up. This was very convenient. No longer does someone need to stand in line to check out. No longer does any have to get lost looking for their wanted item. Everything is in front of them on their computer or Amazon’s Kindle fire.…

    • 1217 Words
    • 3 Pages
    Better Essays
  • Good Essays

    Amazon Case study

    • 1034 Words
    • 3 Pages

    As seen from 2014, Amazon.com1 is a no brainer of a business proposition. Today you can buy most things from Amazon.com – books, movies, health and beauty products, appliances, sporting goods…..online and the company will ship these purchases to your home the same day and often at little or no cost to you. The typical 2014 university student has grown up with the World Wide Web and eCommerce and takes these services for granted. For its part Amazon recorded revenues of $17.09 billion dollars in 2013 but for all that activity, the company did not yield a profit. According to its founder and CEO Jeffrey P. Bezos, Amazon strives to be the retailer of choice for all things and for all people globally. To this end, Amazon’s profit margins on most products are razor thin and its business practices regarding free shipping and generous return policies erode earnings. Still there is no question that Amazon.com is one of the darlings of the new millennium’s Internet economy and a trend-setting retailer in the era of online retailing.…

    • 1034 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Amazon Case Study

    • 1173 Words
    • 5 Pages

    The North America segment of the Company consists of amounts earned from retail sales of consumer products and subscriptions through North America-focused Websites such aswww.amazon.com andwww.amazon.ca and includes amounts earned…

    • 1173 Words
    • 5 Pages
    Powerful Essays

Related Topics