Adobe Interview Question for Software Engineer / Developers






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

This is too simple a question..wonder why they asked it?

- Lord_of_the_Rings June 07, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Exactly, probably just to figure out if you have very basic coding skills, i.e. reading from files, using hash tables, etc.

- stephenmattison June 09, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Bad bad bad programmers...
No - no coding. Thou shall not code unless it is needed!
These do not need coding at all.
You need POSIX commands like

1. grep
2. ls
3. cut
That is it.

- Lord Darth Plaguies June 22, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

dude...you're a moron and i hope you realize that...if you have ever interviewed with amazon/ms you will know that they dont care about linux/unix commands at all...they want to test your data structures/algorithms knowledge and application skills...no offense...ive seen your answers to other questions and you should open your eyes..Peace!

- lol July 04, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I wonder how this can be implemented straightforwardly using a sequence of commands without using branching instructions like 'if' etc. If we are to using branching then in that case you are to resort to some programming like shell scripting. We can use awk or perl. But I really doubt whether we can just use a sequence of commands like the ones (or similar) mentioned above directly and get the outcome.

- Anonymous March 11, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

@lol, this is not a place to spew out rants, if someone starts thinking your way then he'll make his/her life extremely complex and miserable. dont make things complex if they are really simple. Thats what is suggested by Lord Darth and he is really right. knowing commands and making the proper use of it is a different ball game. Peace^999 !!!

- LOLer August 06, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Has anybody considered the remote possiblity of the question ACTUALLY being that the log files CANNOT fit into memory ?
As a matter of fact, log files (of websites like Amazon) DO generally NOT fit into memory, so why dont we play a bit more with the problem and make it interesting.
Assume that the log files cant fit into memory and then try to solve it. :P
Dont sermon me PLZ :D

- Game November 04, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Yes I do agree that MS ,Amazon generally consider data structure and algorithm but some time they do test your unix skills as well specially with Amazon. I would say this question is mostly unix oriented as compare to data structure.

- Deepak Garg February 17, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

MS testing unix skills? You gotta be kidding me.

- Anonymous March 11, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Build a hashmap with key as customer id and value as pages being visited by customer.
1. Initialize the map with pages visited by customer as on day1.
2. looping thru next days, for each customer, check if page visited is not already there in list and old list is not empty, print that customer id.

- anonymous June 06, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Build a HashMap with customer_id as key and page_id as value.
Build a HashSet for storing customer_ids.
Loop through log files:
Now if new entry is not in HashMap, add it.
else if present in HashMap, check if page_id is same as current.
If same, do nothing, if different add it to result HashSet.

- Navz September 04, 2018 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Build a HashMap with customer_id as key and page_id as value.
Build a HashSet for storing customer_ids.
Loop through log files:
Now if new entry is not in HashMap, add it.
else if present in HashMap, check if page_id is same as current.
If same, do nothing, if different add it to result HashSet.

- Navz September 04, 2018 | 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