Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Adobe interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Adobe
upvote
share-icon
5 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 12 Months
Topics: Data Structures, Computer Networks, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Don't lie on your resume.
Tip 2 : Practice at least 400 different types of coding problems.
Tip 3 : Work on your communication skills.

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Don't put false things on your resume.
Tip 2 : Mention some good projects on your resume.

Interview rounds

01
Round
Easy
Telephonic
Duration90 Minutes
Interview date11 Jan 2021
Coding problem2

It was a telephonic round. The interview asked me these questions.
 

1. Puzzle

You have two ropes coated in oil to help them burn. Each rope will take exactly 1 hour to burn all the way through. However, the ropes do not burn at constant rates—there are spots where they burn a little faster and spots where they burn a little slower, but it always takes 1 hour to finish the job.

With a lighter to ignite the ropes, how can you measure exactly 45 minutes?

2. Technical Questions

1. Dynamic memory allocation for 2d array
2. How polymorphism works in C++(Vptr and Vtable implementation)
 

02
Round
Medium
Video Call
Duration60 Minutes
Interview date11 Jan 2021
Coding problem2

The interviewer started asking me questions. He gave me 2 problems. He was giving hints in case of any issues.
 

1. Maximum Frequency Number

Easy
10m average time
90% success
0/40
Asked in companies
IBMInfo Edge India (Naukri.com)Qualcomm

Ninja is given an array of integers that contain numbers in random order. He needs to write a program to find and return the number which occurs the maximum times in the given input. He needs your help to solve this problem.

If two or more elements contend for the maximum frequency, return the element which occurs in the array first i.e. whose index is lowest.

For example,

For 'arr' = [ 1, 2, 3, 1, 2]. you need to return 1.
Try solving now

2. System Design Question

There is an online catalog of songs (Like Saavn or Gaana). How you will show favorite songs every day to users. An efficient algorithm required. (K max solution/ Min heap solution)

03
Round
Medium
Video Call
Duration60 Minutes
Interview date12 Jan 2021
Coding problem2

This was a technical interview. He gave me these questions one by one.
1. Again, how polymorphism works. Draw vtable and vptr
2. Producer consumer problem with synchronization
3. Difference between mutex, semaphore, and condition_variable.
4. Design parking lot system
5. Zigzag traversal of binary tree

1. System Design Question

Design parking lot system

2. Zigzag Binary Tree Traversal

Easy
10m average time
90% success
0/40
Asked in companies
Goldman SachsAmazon

You are given a ‘Binary Tree’.


Return the level-order traversal of the Binary Tree.


Example:
Input: Consider the following Binary Tree:

Example

Output: 
Following is the level-order traversal of the given Binary Tree: [1, 2, 3, 5, 6, 4]


Try solving now
04
Round
Medium
Video Call
Duration90 minutes
Interview date12 Jan 2021
Coding problem2

1. He asked about the producer-consumer problem but I told him that the same question is asked in the previous round.
Then interviewer went asking lots of questions related to producer and consumer. Lots of discussions like what is a writer is not there and the only reader is there and you need to find out how many readers are currently reading from the buffer.
2. Discussions about C++11 features. How thread and async is different
3. Design your own shared_ptr(How you will handle ownership)
4. Check If the binary tree is symmetrical.
5. Find elements in a rotated sorted array and then optimize it.

1. Tree Symmetricity

Easy
20m average time
82% success
0/40
Asked in companies
OLX GroupCIS - Cyber InfrastructureIBM

You are given a binary tree, where the data present in each node is an integer. You have to find whether the given tree is symmetric or not.

Symmetric tree is a binary tree, whose mirror image is exactly the same as the original tree.

For Example:

sym_tree

Try solving now

2. Search In Rotated Sorted Array

Easy
12m average time
85% success
0/40
Asked in companies
GoogleAmazonSiemens

You have been given a sorted array/list 'arr' consisting of ‘n’ elements. You are also given an integer ‘k’.


Now the array is rotated at some pivot point unknown to you.


For example, if 'arr' = [ 1, 3, 5, 7, 8], then after rotating 'arr' at index 3, the array will be 'arr' = [7, 8, 1, 3, 5].


Now, your task is to find the index at which ‘k’ is present in 'arr'.


Note :
1. If ‘k’ is not present in 'arr', then print -1.
2. There are no duplicate elements present in 'arr'. 
3. 'arr' can be rotated only in the right direction.


Example:
Input: 'arr' = [12, 15, 18, 2, 4] , 'k' = 2

Output: 3

Explanation:
If 'arr' = [12, 15, 18, 2, 4] and 'k' = 2, then the position at which 'k' is present in the array is 3 (0-indexed).


Try solving now
05
Round
Medium
HR Round
Duration90 Minutes
Interview date13 Jan 2021
Coding problem0

The interviewer gave his introduction then he asked me to introduce myself. Then he asked about my hobbies and my strengths. Then he gave me these questions.

1. You are given a rotate function which basically will take any object like (2d image, 3d image, audio, video) and will rotate it by 180 degrees. You need to design the functionally. You only know what type of object is there. (Factory design pattern).
2. Expression evaluation (The only constraint was that each operand will have different units). For ex-40 inches + 2*2cm +11/2mm + 12*2/6cm. You will have a final unit which you need to convert.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What does HTML stand for?

Choose another skill to practice
Join the Discussion
1 reply
nisha r morade 28 Feb, 2023

Yes

0 replies
0 upvotes
Reply
Report
Similar interview experiences
company logo
SDE - Intern
1 rounds | 7 problems
Interviewed by Adobe
1241 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Adobe
706 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 2 problems
Interviewed by Adobe
818 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Adobe
602 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
13532 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
12670 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
9012 views
2 comments
0 upvotes