Adobe Interview Question for Member Technical Staffs


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
2
of 2 vote

We can use array of function pointers.
Suppose for key 1 we want to call func1(). then
a[1]=*func1();

Now when a function is hit with some key i then we simply need to call a[i]. it will automatically call the function.

- Rachit Singhal March 27, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

use switch case

- Anonymous February 18, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

The switch statement *is* a conditional statement

- Anonymous February 18, 2014 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

i think we can achieve this goal in any language we can register ISR for each key separately.Actually we need conditional statement when when we want some generic routine to handle all cases.

- amit February 18, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

lisp.

- Anonymous February 18, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Don't really understand the question, but are they just trying to see if you know hashtable or array? I mean can't you just store the digit for each letter in a similar data structure then perform the lookup directly?

Need to know what operations it supports.

- Sunny February 19, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Apply strategy pattern

- Victor February 19, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The dial pad can take the input depending on the position of keys and store it in an array and call the number

- Satish Kumar March 02, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

using maps we can achieve the functionality

- martin.mathew.2k11 May 02, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

we can use command pattern here.
we create separate class of each button. All those are derived from single base class having virtual execute() function.
since there is polymorphism on execution of button press, so no need of conditional statements.
Also in command pattern we can queue the button press function.

- ash.taunk3 October 09, 2014 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More