Qualcomm Interview Question for Applications Developers


Country: United States
Interview Type: Phone Interview




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

It depends on wt kind of complexity are we looking at.

We have different metric to measure complexity like time complexity,Space complexity,

Also cost metric can be involved regarding programming cost,maintainability cost and so on.

It can be mix of all above variables equation to calculate complexity.

Tosha
tosha9@gmail.com

- Tosha Shah January 14, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

while(n>1)
{
n=n/2;
}

- Anonymous June 03, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The best way would be to analyse an algorithm and do few test cases.
After 3-4 runs you will discover a pattern between numbers. Just then extend your program-runs for n values and develop a result.

- Vipul Bansal September 26, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Check out the tutorials on time complexity by GeeksForGeeks

- Anonymous November 02, 2015 | 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