Adobe Interview Questions
- 0of 0 votes
Answerswrite header file for sorting general element. it can sort any type of object(int,float,complex number, objects)
- santosh February 13, 2011| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
AnswersAt 5th round with director
- santosh February 13, 2011
one irregular shape is given. Provide algo to divide in multiple triangle| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
Answersone system API available setOStimer(time n, function ptr, function arg)
- santosh February 13, 2011
it sets time for n sec. after expiration of timer it calls function.
if another timer set with setOStimer, it will erase previously sets timer.
Ex. at t = 0, setOStimer(5,fn,arg)
at t = 4, setOStimer(10,fn1,arg1)
now first timer removed.
Question is using this API, write own API setTimer(), it will use given API. So that it will not erase previously set timer.
I gave solution using min heap. as soon as min value become zero call given API.But he is not convince with my answer. Most of the time i feel that he is trying to confuse me, when i tried for any answer.
Because of 3rd round i am not selected| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Operating System - 0of 0 votes
AnswersAdobe 3rd round question.
- santosh February 13, 2011
write program to find out stack growing upward or downward.| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Operating System - 0of 0 votes
Answersif you we want that at any given time only 1 exe instance should be running how can we do that?
- anonymous February 05, 2011| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer - 0of 0 votes
AnswersGiven a long string, arrange the words in alphabetical order, delete the duplicates and output the words with their frequency.
- dipanker January 27, 2011| Report Duplicate | Flag | PURGE
Adobe - 0of 0 votes
AnswersThere is an array having 1 to 100 numbers randomly placed. But two numbers are missing from the list. What are those two numbers?(no hashing,no sorting)
- dipanker January 25, 2011
//is there is better solution than taking sum and then difference from sum of all 100 numbers and then searching for all possibilities.| Report Duplicate | Flag | PURGE
Adobe - 0of 0 votes
AnswersFind the output of the following Program-
- ajitpec January 22, 2011
void main()
{
int array[4]={10,20,30,40};
int *tmp=array;
for (int i=0;i<4;i++)
{
tmp+=sizeof(int);
printf("%d",*tmp);
}
getch();
}
i think it should be 30 0 0 0| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Arrays - 0of 0 votes
AnswersHow to delete the duplicates in a Binary Tree?
- Jegan Shunmugavel December 19, 2010
Description:
eg. Tree
A
B C
D.C -.F
FH
output:
A
B C
D.H -.F
Here C & F are repeated. If a node value is duplicated, the duplicated value which comes later in the BFS of the tree should be eliminated, its left/right child should be linked to the deleted node's parent (if the children are not duplicated values).| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
Answersfind triplets in an integer array which satisfy a[i]^2 + a[j]^2 = a[k]^2
- aa November 30, 2010| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
Answeryou are supposed to write a crontab enrty using a shell script... that means the shell script must trigger the crontab to make an entry...
- shell_coder November 30, 2010
you can take any cron job for example delete all .html files present in /var/www/myfolder| Report Duplicate | Flag | PURGE
Adobe - 0of 0 votes
AnswersGiven an array of size n wherein elements keep on increasing monotically upto a certain location
- Anonymous November 05, 2010
after which they keep on decreasing monotically, then again keep on increasing, then decreasing
again and so on. Sort the array in place (ie. using only O(1) extra memory).| Report Duplicate | Flag | PURGE
Adobe Coding - 0of 0 votes
AnswersYou are given a lot of cuboid boxes with different length, breadth and height. You need to find the maximum subset which can fit into each other.
- Anonymous November 03, 2010
For example:
If Box A has LBH as 7 8 9
If Box B has LBH as 5 6 8
If Box C has LBH as 5 8 7
If Box D has LBH as 4 4 4
then answer is A,B,D
A box can fit into another only and only if all dimensions of that is less than the bigger box. Also Rotation of boxes is not possible.| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Coding - 0of 0 votes
Answersfind max sum of a matrix
- keshav kafu November 01, 2010| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
Answerswrite a perogram where an array of integers, e.g.{10203004567000} is given, you have to create a new array which will be like (12345670000000}, without using any other temporary array.
- keshav singh nitian November 01, 2010| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
AnswersGiven three lists: A, B and C of length n each. Write a function which returns true if any 3 three numbers (1 from each list), sum up to zero. Else return false, if there is no such combination.
- keshav singh nitian November 01, 2010| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
Answersyou are given a M x N matrix with 0's and 1's
- keshav singh nitian November 01, 2010
find the matrix with largest number of 1,
1. find the largest square matrix with 1's
2. Find the largest rectangular matrix with 1's| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
AnswersThere is an ant which can walk around on a planar grid. The ant can move one space at a time left, right, up or down. That is, from (x, y) the ant can go to (x+1, y), (x-1, y), (x, y+1), and (x, y-1). Points where the sum of the digits of the x coordinate plus the sum of the digits of the y coordinate are greater than 25 are inaccessible to the ant. For example, the point (59, 79) is inaccessible because 5 + 9 + 7 + 9 = 30, which is greater than 25. How many points can the ant access if it starts at (1000, 1000), including (1000, 1000) itself?
- keshav singh nitian November 01, 2010| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
AnswersWrite a "C" function,
- dev October 30, 2010
int AddOvf(int* result, int a, int b)
If there is no overflow, the function places the reusltant
sum a+b in "result" and returns 0. Otherwise it returns -1.
The solution of casting to long and adding to find detecting the
overflow is not allowed :-)| Report Duplicate | Flag | PURGE
Adobe Developer Program Engineer Coding - 0of 0 votes
Answerswhat is your cgpa?
- Hai September 26, 2010| Report Duplicate | Flag | PURGE
Adobe Accountant General Questions and Comments - 0of 0 votes
Answerswhat is your name?
- Hai September 26, 2010| Report Duplicate | Flag | PURGE
Adobe Accountant General Questions and Comments - 0of 0 votes
Answershow will you sort a file which is too large?
- sweetest September 15, 2010| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm - 0of 0 votes
AnswersWrite a Generic Swap Macro in c
- sweetest September 15, 2010| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer C - 0of 0 votes
AnswersBangla numbers
- nme September 07, 2010
====== =======
Bangla numbers normally use 'kuti' (10000000), 'lakh' (100000), 'hajar' (1000),
'shata' (100) while expanding and converting to text. You are going to write
a program to convert a given number to text with them.
Input
-----
The input file may contain several test cases. Each case will contain a
non-negative number <= 999999999999999.
Output
------
For each case of input, you have to output a line starting with the
case number with four digits adjustment followed by the converted text.
Sample Input
------ -----
23764
45897458973958
Sample Output
------ ------
1. 23 hajar 7 shata 64
2. 45 lakh 89 hajar 7 shata 45 kuti 89 lakh 73 hajar 9 shata 58| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer - 0of 0 votes
AnswersReverse a doubly linkedlist
- surath August 23, 2010| Report Duplicate | Flag | PURGE
Adobe Data Structures - 0of 0 votes
AnswersCheck whether the Binary tree is BST or not
- surath August 23, 2010| Report Duplicate | Flag | PURGE
Adobe Data Structures - 0of 0 votes
Answersfind the depth of a binary tree
- anniyan August 04, 2010| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Java