Open In App

Adobe Interview | Set 13 (On Campus for Internship)

Improve
Improve
Like Article
Like
Save
Share
Report

We had Adobe visit our campus recently. First they shortlisted students for an online test on the basis of CGPA. A few students even got direct offer.

  • Online Round
    There were 8 questions in total. 5 MCQ, 2 Coding and 1 question was based on creativity.
    The MCQ’s were on heap, and probability. Finding the expectations and the running time complexities for heaps were the main focus of the MCQ’s.

    In the coding questions we had to write pseudocode, not actual C++ code.

  • 1st question: There is a stream of incoming integers, how would you maintain its median using a minHeap and a maxHeap.
  • 2nd question: You have the start time, end time and index number of racers in a race. You need to tell the rank of each racer. The rank is calculated as following: if racer B starts after racer A but finishes before racer A, then the rank of racer A increases by 1.
    Eg, 
    Index     Start Time     End time
    0      100          170
    1       80          150
    2      120          165
    3      110          145
    
    Output
    Index        Rank
    2        0
    3        0
    1        1
    0        2

    I did it in O(n2), but I think there should be an O(nlogn) algorithm for this.

    The last creative question was:
    If the 3G wireless network and smartphone penetration in India reached as much as the cellular network penetration, what product would you design and i) how would it benefit the customers and ii) how would you profit? (Write-in roughly 200 words).

    I was shortlisted for the telephonic interview.

  • Telephonic Interview
    I introduced myself, and my projects. He asked me some details of the projects that he found interesting. After this, he asked me algorithm questions.

    1. What is the running time for insertion, deletion, extracting min from a minHeap?
    2. What is the running time for insertion, deletion and searching an element in a sorted array and the same for an unsorted array?
    3. How would you determine if a coin is biased or not. Does the degree of biasity effect the number of experiments you have to perform? (Example: if the prob of heads is 0.6 in one case and 0.7 in another, then would you still perform the same number of experiments to decide if they are biased or different number of experiments).

Thank you GeeksforGeeks.


Last Updated : 23 May, 2019
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads