retagged by
1,005 views
2 2 votes
there is a sorted array which is of very large. every element is repeated more than once except one element. how much time will it take to find the element?

1 Answer

0 0 votes
o{n}
Position:
Show:

Related questions

8 8 votes
6 6 answers
3.9k
3.9k views
Arjun asked Feb 27, 2025
3,856 views
Suppose that insertion sort is applied to the array $[1,3,5,7,9,11, x, 15,13]$ and it takes exactly two swaps to sort the array. Select all possible values of $x$.$10$$12...
0 0 votes
1 1 answer
95
95 views
GO Classes asked Aug 25
95 views
Let $P$ be the problem of sorting $n\geq1$ elements using only comparisons.Consider the class of all comparison-based algorithms that correctly solve $P$.What is the asym...
2 2 votes
2 2 answers
167
167 views
Shubham Sharma 2 asked Apr 19
167 views
Which of the following is correct order of increasing time complexity of algorithmsTower of Hanoi with $n$ disk.Binary search given $n$ sorted numbers.Heap sort given $n$...
1 1 vote
1 1 answer
400
400 views
Shubham Sharma 2 asked Sep 10, 2025
400 views
Match the LIST-I with LIST-II$\begin{array}{|l|l|l|l|} \hline & \textbf{LIST-I} & & \textbf{LIST-II} \\ & \textbf{Algorithm} & & \textbf{Complexity} \\ \hline \text{A.}...