Oracle Interview Question


Country: India




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

i think it is o(n) because o(5n) and o(n) are same.

- max July 19, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
2
of 2 vote

The Big O notation omits the multiplicative constants. So O(5n) or 5*O(n) all refer to O(n) itself.

- Swaminathan Vetri July 19, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I think you are right.

- Anonymous August 08, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

to me this is ambiguos.
is it o(5*n) or 5*O(n) ?

- zeroByzero July 19, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

i think 5*O(n) is correct.........

- Param July 21, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

even i got same question in written exam of some company i forgot... this question is very ambiguous...

- fire and ice August 09, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

It should be O(n) cos O(kn) is O(n).

- Nishanth November 12, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 3 vote

its 0(n^5)

- venkatesh nayak August 31, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 votes

this is not the place to use these words..

- cobra July 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

What words?

- WTF? July 19, 2012 | Flag


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