Adobe Interview Questions
- 0of 0 votes
AnswersFind minimum number of swaps to convert one binary array to another.
- Rahul Sharma March 30, 2015 in United States
Note: It is always possible.
You are given two integer array having only 0's and 1's. Find minimum number of swaps to convert array1 to array2.
NOTE: You can only swap adjacent elements.| Report Duplicate | Flag | PURGE
Adobe Software Engineer Algorithm - 0of 0 votes
AnswersHow would you design a system to store the search history of your users?
- Ray February 14, 2015| Report Duplicate | Flag | PURGE
Adobe SDE1 System Design - 0of 0 votes
AnswersHow does Google know that you are who you say you are?
- Ray February 14, 2015 in United States| Report Duplicate | Flag | PURGE
Adobe SDE1 System Design - 0of 0 votes
AnswerHow would you design the search future in Google from frontend to backend?
- Ray February 14, 2015| Report Duplicate | Flag | PURGE
Adobe SDE1 System Design - 0of 0 votes
AnswersIn Mutation testing How to replace Operators with another operator , How will you do this just by string operation on program or by creating syntax tree of program , how will you implement mutation testing tools ?
- mohit sharma February 05, 2015 in India
i have not remember exact question , but it was like that ??| Report Duplicate | Flag | PURGE
Adobe Software Analyst - 0of 0 votes
Answershow to design a relation functionality. similar to facebook , how to hold friends objects for a user profile , so that that is easily searchable . how to use cache for this?
- gopi.komanduri December 30, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Computer Scientist Algorithm Coding Data Structures - 3of 3 votes
AnswersGiven a staircase that has 'n' step, and you climb the staircase by jumping over the steps. You can cover at max of 'k' steps in a single jump. List all the possible sequence of jumps you could take to climb the staircase.
- NEO December 16, 2014 in India
input:
n=4, k=2
output:
1,1,1,1
1,1,2
1,2,1
2,1,1
2,2| Report Duplicate | Flag | PURGE
Adobe Member Technical Staff Algorithm - 2of 2 votes
AnswersFind the unique number that is present only once in array while all the others are present three times.
- Rahul Sharma November 03, 2014 in India
Example: 2,3,5,1,2,2,5,3,5,3
Answer : 1 as 2,3,5 are repeated three times
Complexity should be better than O(nlogn)| Report Duplicate | Flag | PURGE
Adobe Member Technical Staff Algorithm - 0of 0 votes
AnswerHow does map-reduce work? Explain with diagram.
- anisha@uci.edu November 01, 2014 in United States for Big Data| Report Duplicate | Flag | PURGE
Adobe Computer Scientist - 0of 0 votes
AnswersDifference Between Call by Value and Call by Ref.
- anisha@uci.edu November 01, 2014 in United States for Big Data| Report Duplicate | Flag | PURGE
Adobe Computer Scientist - 0of 0 votes
Answerwhat is virtual function?
- anisha@uci.edu November 01, 2014 in United States for Big Data
Give an example scenario of use.| Report Duplicate | Flag | PURGE
Adobe Computer Scientist - 5of 5 votes
Answersint fun() { /*write code here.*/ } int main() { int i=10; fun(); printf("%d",i); }
change the value of the i without changing code of the main function, assign 20 to i ?
- mohit sharma October 28, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer C - 0of 0 votes
Answers1. Consider an ordinary binary min- heap data structure with n elements supporting the instructions INSERT and EXTRACT-MIN in O(lg n) worst case time. Give a potential function f such that the amortized cost of INSERT is O(lg n) and the amortized cost of EXTRACT-MIN is O(1) , and show that it works.
- nikeshjoshi2001 October 27, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
AnswersWrite a method to create a deep-clone of an instance of the class Drawing.
- anuj.iiit2007 October 19, 2014 in United States
public class Drawing {
public List < Shape > shapes = new LinkList < Shape >();
}
where shape is an abstract class which can have many concrete implementation
public abstract class Shape implements Serailizable {
---
}| Report Duplicate | Flag | PURGE
Adobe - 0of 0 votes
AnswerWrite a method to create a deep-clone of an instance of the class Drawing.
- anuj.iiit2007 October 19, 2014 in United States
public class Drawing {
public List<Shape> shapes = new LinkedList<Shape>();
}
where shape is an abstract class that can have many concrete implementations:
public abstract class Shape implements Serializable {
}| Report Duplicate | Flag | PURGE
Adobe - 0of 0 votes
AnswersWrite test cases for adobe reader , Adobe flash player ,
- ajayjnv02 October 19, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer in Test - 1of 1 vote
AnswerWhat functionality and technicality you want to add in new media player when you are going to launch it in current market.
- ajayjnv02 October 19, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer in Test - 0of 0 votes
AnswerWhat functionality and technicality you want to add in new Operating system when you are going to launch it in current market.
- ajayjnv02 October 19, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer in Test - 1of 1 vote
AnswersWhat functionality and technicality you want to add in new web browser, when you are going to launch it in current market.
- ajayjnv02 October 19, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer in Test - 0of 0 votes
AnswersWhat functionality and technicality you want to add in mobile phone when you are going to launch it in current market.
- ajayjnv02 October 19, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer in Test Ideas - 1of 1 vote
AnswerDesign & Implement your own Json parser. It should handle all cases. And it should also JUnit testable.
- varunGE October 16, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Computer Scientist Algorithm - 0of 0 votes
Answers3.There is a NXM grid of pixels,and each pixel is represented by 3 bits,1 each for R,G and B color values.You are given the address of beginning of grid in a character pointer,and a position x,y on the grid.You have to change that positions bits to some other given bits.
- !@# September 22, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer - 2of 2 votes
Answersint a ; int main() { printf("%u\n",&a);
}
- !@# September 22, 2014 in India
what will be the o/p of the above code if we run it 5 times, will it be same every time or not?| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer - 0of 0 votes
AnswersWrite a c program to check number(0123456789) in array of string is valid or not
- rocky September 11, 2014 in United States
number is valid only if it is number or number padded with right space
for example char ex[10];
0123456789 valid
012345678a invalid
0123a56789 invalid
01234 invalid
012345678 valid
01234567 valid
12345 invalid
1234 678 invalid
123 4 5678 invalid| Report Duplicate | Flag | PURGE
Adobe Developer Program Engineer - 1of 1 vote
AnswersWrite a recursive method to get the multiplication of two numbers such that there are minimum number of addition operations.
- Rahul Sharma September 05, 2014 in India| Report Duplicate | Flag | PURGE
Adobe SDE-2 Coding - 0of 0 votes
AnswersJava runs on a "virtual" stack machine inside JVM, which has instruction of size of one byte (called byte-codes). How many instructions/bytecodes potentially can such a machine have?
- rahul23111988 August 22, 2014 in United States
PICK ONE OF THE CHOICES
256
Unlimited
2^32 for 32-bit machines
Depends on JVM version| Report Duplicate | Flag | PURGE
Adobe Computer Scientist Java Operating System - 0of 0 votes
AnswersIn a multi-threaded application, many threads are trying to access the same
- rahul23111988 August 22, 2014 in United States
resource, say a global c ount, g. Threads are synchronized by the following code
(assume lock is a static int variable, initialized to 0 (unlocked state)):
if (lock) wait(); // It's already locked so wait(sleep) till someone wakes me up
else lock=1; // I locked it
/* Critical Section - Increment g */
lock = 0; // Lock released, so wakeup only one of other waiting threads, if any
What is the issue with this synchronization?
PICK ONE OF THE CHOICES
No issues – will work correctly
Works only on a uniprocessor system and would not work on multiprocessor system
Will not work on any system
Cannot say – need more data| Report Duplicate | Flag | PURGE
Adobe Computer Scientist Operating System - 0of 0 votes
AnswersSuppose you are a software vendor and you need to provide your API to a customer, but you don't want to give your source code. How would you do it?
- neerajlakhotia08 August 20, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Application / UI Design - 0of 0 votes
AnswersSuppose you are a software vendor and you need to provide your API to a customer, but you don't want to give your source code. How would you do it?
- neerajlakhotia08 August 20, 2014 in India| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Application / UI Design