Interview Question


Country: United States
Interview Type: Phone Interview




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

Obviously, this question is to identify how you would solve the problem which has not enough data to start. The interviewer expects you to start asking questions about the technology and the bug itself to resolve ambiguity. I would start from the following:
1) When speaking about technology, does it mean I have application written in that technology? If yes, is this application desktop or web? In which part of the application is the bug? ETC.
2) When said "solve a bug", it meant to fix it or to develop a test-case to find it and document? ETC.
Every next question is based on what the interviewer already replied to you. Usually after 10-12 questions you asked you will be stopped because it would be clear how smart you are in getting data you need for work. :)

- helen2211 November 15, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

When there is a repro
1) Figure out what you expect the state to be vs what the state actually is.
2) Trace the state back in the call stack to find where the state became corrupt
3) For multithreaded applications, this will require multiple "goes", as state may be set from one thread that has already returned.

When there is no repro, you need to create one. To set yourself up for success:
1) Create better instrumentation - Reason about the code and ensure that you at least log all exceptions before crashing (crashing is good).
2) Set up machines to give create a dump file.
3) LOG LOG LOG

- charley murphey November 16, 2012 | 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