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

Intern

Adobe
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, Machine Learning, Aptitude, Coding
Tip
Tip

Tip 1 : Must do Previously asked Interviews Questions.
Tip 2 : Prepare OS, DBMS, OOPs, Computer Networks well.
Tip 3 : Prepare well for one project mentioned in the resume, the interviewer may ask any question related to the project, especially about the networking part of the project.

Application process
Where: Referral
Resume Tip
Resume tip

Tip 1 : Have at least 2 good projects mentioned in your resume with a link
Tip 2 : Focus on skills, internships, projects, and experiences.
Tip 3 : Make it simple, crisp, and one page

Interview rounds

01
Round
Medium
Face to Face
Duration60 minutes
Interview date24 Nov 2021
Coding problem1

This was the first technical round taken by the SDE1 at Adobe based on problem solving. Interviewer asked me for my introduction and then gave me coding problem.

1. Maximum In Sliding Windows Of Size K

Moderate
20m average time
80% success
0/80
Asked in companies
AppleWalmartOYO

Given an array/list of integers of length ‘N’, there is a sliding window of size ‘K’ which moves from the beginning of the array, to the very end. You can only see the ‘K’ numbers in a particular window at a time. For each of the 'N'-'K'+1 different windows thus formed, you are supposed to return the maximum element in each of them, from the given array/list.

Problem approach

C++ Solution: 

vector maxSlidingWindow(vector& nums, int k) {
vectorans;
int n = nums.size();
if(nq;
int i=0,j=0;
while(j {
while(q.size() && q.back() {
q.pop_back();
}
q.push_back(nums[j]);
if(j-i+1==k)
{
ans.push_back(q.front());
if(nums[i]==q.front())
{
q.pop_front();
}
i++;
}
j++;
}
return ans;
}

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date24 Nov 2021
Coding problem1

This was 2nd technical round taken by the senior software developer at Adobe

1. Best Time to Buy and Sell Stock

Moderate
20m average time
80% success
0/80
Asked in companies
IntuitOptumOYO

You are given an array/list 'prices' where the elements of the array represent the prices of the stock as they were yesterday and indices of the array represent minutes. Your task is to find and return the maximum profit you can make by buying and selling the stock. You can buy and sell the stock only once.

Note:

You can’t sell without buying first.
For Example:
For the given array [ 2, 100, 150, 120],
The maximum profit can be achieved by buying the stock at minute 0 when its price is Rs. 2 and selling it at minute 2 when its price is Rs. 150.
So, the output will be 148.
Problem approach

Solution in Java

class Solution {
public int maxProfit(int k, int[] prices) {
if(prices.length==0 || k==0) return 0;
int dp[][]=new int[k+1][prices.length];
for(int i=1;i<=k;i++){
int max=Integer.MIN_VALUE;
for(int j=1;j max=Math.max(max,dp[i-1][j-1]-prices[j-1]);
dp[i][j]=Math.max(max+prices[j],dp[i][j-1]);
}
}
return dp[k][prices.length-1];
}
}

Try solving now
03
Round
Easy
Video Call
Duration60 minutes
Interview date30 Nov 2021
Coding problem2

This was 3rd technical round taken by another senior software developer from adobe. He asked questions about my projects, and skills and previous work experience.

1. Remove Duplicates

Easy
0/40
Asked in companies
CIS - Cyber InfrastructureSAP LabsAdobe

Given a string S, remove consecutive duplicates from it recursively.

Problem approach

Time complexity
The time complexity of the above algorithm is O(n)
Space complexity
The algorithm runs in constant space O(1)

function findDuplicate(nums: number[]): number {

let orderedIndex=0;

while(orderedIndex 
if(nums[orderedIndex]!==orderedIndex+1){// because our range from 1 to n
let unorderedIndex=nums[orderedIndex]-1;

if(nums[orderedIndex]!==nums[unorderedIndex]){
[nums[orderedIndex],nums[unorderedIndex]]=[nums[unorderedIndex],nums[orderedIndex]]
}else{
return nums[orderedIndex]
}

}else{
orderedIndex++;
}
}
return -1
};

Try solving now

2. Coin Change(Finite Supply)

Hard
0/120
Asked in companies
IBMAdobeAmazon

You are given an array of integers ‘coins’ denoting the denomination of coins and another array of integers ‘freq’ denoting the number of coins of each denomination.

You have to find the number of ways to make the sum ‘V’ by selecting some(or all) coins from the array.

The answer can be very large. So, return the answer modulo 1000000007.

For Example :
‘N’ = 3, ‘coins’ = {1, 2, 3}, ‘freq’ = {1, 1, 3}, ‘V’ = 6

For the given example, we can make six by using the following coins:
{1, 2, 3}
{3. 3}
Hence, the answer is 2.
Problem approach

class Solution {
private:
int fn(int i,int tar,vector&nums,vector>&dp){
if(i==0){
if(tar%nums[i]==0){
return tar/nums[i];
}
else{
return 1e9;
}
}
if(dp[i][tar]!=-1){
return dp[i][tar];
}
int np=fn(i-1,tar,nums,dp);
int p= 1e9;
if(tar>=nums[i]){
p=1+fn(i,tar-nums[i],nums,dp);
}
return dp[i][tar]=min(p,np);
}
public:
int coinChange(vector& nums, int tar) {
int n=nums.size();
vector>dp(n,vector(tar+1,-1));
long ans=fn(n-1,tar,nums,dp);
if(ans== 1e9){
return -1;
}
return ans;
}
};

Try solving now

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
Intern
2 rounds | 2 problems
Interviewed by Adobe
1019 views
0 comments
0 upvotes
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
Software Engineer
5 rounds | 5 problems
Interviewed by Adobe
1005 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Intern
2 rounds | 2 problems
Interviewed by Microsoft
1499 views
0 comments
0 upvotes
company logo
Intern
3 rounds | 4 problems
Interviewed by Oracle
1297 views
0 comments
0 upvotes
company logo
Intern
2 rounds | 4 problems
Interviewed by Microsoft
0 views
0 comments
0 upvotes