Adobe Interview Question for Software Developers


Country: India
Interview Type: In-Person




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

23 .. it is prime ;)

- Abhi February 27, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
2
of 2 vote

116 should be replaced by 18.

Then 1,2,3,4,5,6,7,8,9 is present once.

- ninhnnsoc February 28, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

What you said is correct but the question is to find the unlikely element.

- 0.vikaspandey April 02, 2022 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

9

- ravi February 27, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

I think the answer is 116, if we replace 116 by 18 we will have all number from 1 to 9

- techinterviewquestion.com February 28, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 2 vote

9

- ravi February 27, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 2 vote

9

- ravi February 27, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

9 I think...

- ravi February 27, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

23 I guess... Why 9?

- Ningxi February 28, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

9

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

23 because only this number is prime number

- alok March 01, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I think it's 23. Because all are composite numbers except 23 (Prime)

- JAR March 02, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

okay lets consider both the cases removal/deletion of 23 from the set and accessing and overwriting the value of 116 to 18

if we use different data structure then according to time complexity clearly deletion of 23 is efficient than 116 access and overwrite




time complexity :-

Access Deletion
Array O(1) O(n)
Stack O(n) O(1)
Singly-Linked List O(n) O(1)
Doubly-Linked List O(n) O(1)
Skip List O(n) O(n)
Hash Table - O(n)
Binary Search Tree O(n) O(n)
Cartesian Tree - O(n)
B-Tree O(log(n)) O(log(n))
Red-Black Tree O(log(n)) O(log(n))
Splay Tree - O(log(n))

it also depends on the interviewers perception towards the question

- saurabh March 10, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

23 is prime in that series. So Answer is 23.

- rajnesh February 27, 2017 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I think problem something wrong

- Manesh March 05, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Numbers: 9 23 46 75 116
Diff between above numbers: 14 23 29 41
Diff between above numbers: 9 6 12 >> The series here is not right.

IF
we reduce 6 from 9
Numbers: 3 23 46 75 116
Diff between numbers: 20 23 29 41
Diff between numbers: 3 6 12 >> The series now doubles everytime

Answer: The value 9 should be changed to 3.

- Siddharth August 06, 2020 | Flag Reply
Comment hidden because of low score. Click to expand.
-2
of 2 vote

9

- ravi February 27, 2016 | 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