Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Company QA
→
Safety Supervisor in Company QA
→
Find the 2 maximum elements in array in O(n+log(n)...
1.
Find the 2 maximum elements in array in O(n+log(n)) comparison
Answer»
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How does fb store likes/dislikes ?
given a 2D array of 0 and 1. where each row is sorted. find the row with maximum no of 1 in minimum time complexcity
Find a equilibrium index in array
How do fb messages work ?
Given an expression (in single variable) like 4x+13(x-(4x+x/3)) = 9, evaluate x The expression is a string and the variable is always x
Find the 2 maximum elements in array in O(n+log(n)) comparison
Given an array A[n] such that A[i+1] = A[i]+1 OR A[i]-1, and a number k, find out whether k is present in A[n] or not, in most efficient way?
find the minimum no of jumps required to reach the end of array.where element at each index represent how many max moves you will take in right
How do u implement timeline/newsfeed ?
Given an array which is alternatively sorted. What will be the time complexity to find out an element in it. e.g. 14,3,16,6,22,7,24,11,27
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies