Adobe interview experience Real time questions & tips from candidates to crack your interview

Computer Scientist 1

Adobe
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Journey
I started by solving DSA problems online and brushing up on my computer science basics. I attended around 10-15 interviews before finally cracking Adobe. Although I was eager to join any of the companies I interviewed for, these interviews also helped me test my knowledge and preparation.
Application story
I asked a friend for a referral and got a call from HR within two weeks. There were four rounds of interviews: three were technical, and one was managerial.
Why selected/rejected for the role?
I was selected because I solved the technical interview questions within the given time and provided clear explanations of my solutions. In the managerial round, I successfully designed a low-level solution for a real-life problem and brainstormed with the interviewer on possible corner cases and extensions.
Preparation
Duration: 3 months
Topics: Data Structures (arrays, strings, stacks, queues, trees, and graph), Algorithms (sliding window, sorting, etc.), Dynamic Programming, Java basics, Operating Systems, Memory management, System Design (LLD and HLD)
Tip
Tip

Tip 1: Start solving DSA questions early.

Tip 2: Keep your fundamentals clear.

Tip 3: Practice writing code on paper.

Application process
Where: Referral
Eligibility: NA, (Salary Package - 40 LPA)
Resume Tip
Resume tip

Tip 1: Keep your resume to one page and highlight only your core skills.

Tip 2: Include your past projects and maintain in-depth knowledge of them.

Interview rounds

01
Round
Easy
Online Coding Test
Duration60 minutes
Interview date19 May 2022
Coding problem2

It was a Microsoft Teams interview, scheduled for around 11 a.m. The interviewer was punctual and very friendly.

1. Sort An Array of 0s, 1s and 2s

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

Given a (n * n)  2-D grid of 0s, 1s and 2s. We need to sort the array from top-left to bottom-right so that all the 0s are aligned top and then right, followed by 1s and finally 2s towards bottom-right. Improve the complexity, if possible.

Problem approach

I initially sorted the row-wise arrays with a time complexity of O(n*n*logn). The interviewer asked if I could improve the complexity. I then used extra space to store the counts of 0s, 1s, and 2s and rebuilt the grid using those counts, which reduced the time complexity to O(n*n).

Try solving now

2. Minimum Direction Changes

Hard
50m average time
50% success
0/120
Asked in companies
AdobeAmazonOptum

Given a 2D grid having N Rows and M Columns. Each cell of the grid has a character among [ 'U', 'L', 'D', 'R' ] written on it, denoting Up, Left, Down, and Right respectively and indicating the direction in which it is permitted to move from that cell to its neighbor. Your task is to find the minimum number of cells whose direction value is required to be changed so that there exists a path from Top-Left to the Bottom-Right cell by following the directions written on the cells.

For example,
Consider the 2 * 2 grid

sample inp

Let's call the four cells in the grid as A,B,C,D. In this grid, it is allowed to move from Cell A to Cell B, Cell B to Cell D, Cell C to Cell D and Cell D to Cell C. There are two paths that start from A and ends at D:

1) A->C->D
To follow this path we need to change the value of cell A to “D” and do not need to change the value of cell C. Therefore, the total change for this path is 1.

2) A->B->D
To follow this path we need not to change any of the cell values. Therefore the total changes for this path is 0.

As we can see the minimum changes required to reach the bottom-right cell is Zero therefore the answer is 0 in this case.
Problem approach

Classical graph BF/SDFS problem.

Try solving now
02
Round
Easy
Online Coding Test
Duration60 minutes
Interview date20 May 2022
Coding problem1

The interview was scheduled for around 2 p.m. It was another online call. The interviewer was punctual and very friendly.

1. Operating System and Java Basics

Problem approach

Tip 1: Keep your fundamentals strong on operating system basics, especially threads and memory storage.
Tip 2: Have a strong command of Java or any other programming language of your choice. Be sure to understand its memory usage and multi-threading.
Tip 3: Be honest in the interview; if you don't know something, simply tell the interviewer.

03
Round
Easy
Online Coding Test
Duration60 minutes
Interview date23 May 2022
Coding problem1

The interview was scheduled for around 3 p.m., and the interviewer was friendly.

1. Kth Largest Element In A Stream

Moderate
30m average time
65% success
0/80
Asked in companies
Wells FargoGoldman SachsPhonePe

You will be given a stream of numbers, and you need to find the 'kth' largest number in the stream at any given time.


As the stream of numbers can not be given during compile time, so you need to design a data structure which can accept infinite numbers and can return the 'kth' largest number at any given time.


The stream of numbers is nothing but a large collection of numbers from which integers are read at runtime, such as the user will never know the upper limit on the number of integers that will be read.


The implemented data structure must support the following operations:

1. add(DATA) :
   This function should take one argument of type and store it in its pool and returns the 'kth' largest number from the current pool of integers.

You will be given 'q' queries:

val - For this query, insert the integer into your current pool of integers and return the 'kth' largest integer from the existing pool of integers.
Note
 1. The maximum number of integers that will be given will always be under memory limits.

 2. You will also be given an initial pool of integers whose size equals k.

 3. The maximum number of queries will be less than 10^5.

 4. The 'kth' largest element is not the 'kth' distinct element but the 'kth' largest element in the sorted order.

 5. There will be at least one query of type 2.
Problem approach

Tried to do it with binary search first, but since the stream of infinite the last index was undetermined. Then used a different approach of selecting the last index in an incremental way by powers of 2- first last index=1, then last index=2, then last index=4, then last index=8, etc. This would give a complexity of O(logn * logn).

Try solving now
04
Round
Easy
Online Coding Test
Duration60 minutes
Interview date23 May 2022
Coding problem1

The interview was conducted by the manager, who was very knowledgeable and friendly. It was scheduled for 3 p.m. but started a bit late, around 4:30 p.m.

1. System Design

Design a low-level system for a search engine to search through a plethora of PDFs. Essentially, it was a search service to look for keywords within a collection of PDFs. The interviewer was interested in understanding the class structures, design patterns used, and some concepts related to indexing and databases. In the end, he switched to asking questions about my machine learning college project and how I could apply recommendations in search bars using ML.

Problem approach

Tip 1: Have knowledge of design patterns and object-oriented programming concepts
Tip 2: Keep the basics of DBMS clear like indexing, normalisation, joins, etc
Tip 3: Read about load balancer, caching, etc. and have in-depth knowledge about your projects mentioned in the resume.

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Adobe
1689 views
0 comments
0 upvotes
company logo
Software Developer
2 rounds | 4 problems
Interviewed by Adobe
4530 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Adobe
1694 views
0 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Adobe
1005 views
0 comments
0 upvotes