Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged searching
2
2 votes
2
2 answers
192
192 views
UGC NET CSE | December 2025 | Part 2 | Question: 41
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$...
Shubham Sharma 2
192
views
asked
Apr 19
Algorithms
ugcnetcse-dec2025
time-complexity
algorithm-design
sorting
recursion
matrix
searching
+
–
2
2 votes
3
3 answers
408
408 views
UGC NET CSE | December 2023 | Part 2 | Question: 3
Which of the following is $\text{TRUE}?$The cost of searching an AVL tree is $\theta(\log n)$ but that of binary search is $0(n)$The cost of searching an AVL tree in $\th...
Shubham Sharma 2
408
views
asked
Sep 9, 2025
Data Structures
ugcnetcse-dec2023
data-structures
binary-search-tree
avl-tree
searching
time-complexity
+
–
1
1 vote
0
0 answers
229
229 views
UGC NET CSE | December 2023 | Part 2 | Question: 75
Match List - I with List - II. LIST-I LIST-IIA.Hill climbingI.$O(b^d)$B.Best first searchII.$O(bd)$C.A* SearchIII.$O(1)$D.Depth first searchIV.$O(b^m)$ Choose the correct...
Shubham Sharma 2
229
views
asked
Sep 9, 2025
Artificial Intelligence
ugcnetcse-dec2023
artificial-intelligence
searching
asymptotic-notations
+
–
37
37 votes
4
4 answers
15.0k
15.0k views
GATE CSE 2025 | Set 2 | Question: 19
Which of the following statements regarding Breadth First Search (BFS) and Depth First Search (DFS) on an undirected simple graph $G$ is/are TRUE?A DFS tree of $G$ is...
Arjun
15.0k
views
asked
Feb 27, 2025
Algorithms
gatecse2025-set2
algorithms
searching
breadth-first-search
depth-first-search
multiple-selects
one-mark
+
–
35
35 votes
8
8 answers
17.6k
17.6k views
GATE CSE 2025 | Set 2 | Question: 31
An array $A$ of length $n$ with distinct elements is said to be bitonic if there is an index $1 \leq i \leq n$ such that $A[1 . . i]$ is sorted in the non-decreasing or...
Arjun
17.6k
views
asked
Feb 27, 2025
Algorithms
gatecse2025-set2
algorithms
searching
bitonic-array
time-complexity
two-marks
+
–
1
1 vote
1
1 answer
617
617 views
TIFR CSE 2024 | Part B | Question: 10
Arun has a non-empty subset $\text{S}$ of the numbers $\{1,2,3, \ldots, 1000\}$. Bela wants to find any number $\text{x}$ in Arun's set $\text{S}$.To do this, Arun and Be...
admin
617
views
asked
Jan 13, 2024
Algorithms
tifr2024
combinatory
searching
algorithm-design
probability
+
–
0
0 votes
1
1 answer
620
620 views
UGCNET CSE December 2022: 37
The $\text{A}^{*}$ algorithm is optimal when,It always finds the solution with the lowest total cost if the heuristic ' $h$ ' is admissible.Always finds the solution with...
admin
620
views
asked
May 20, 2023
Artificial Intelligence
ugcnetcse-dec2022
artificial-intelligence
algorithm-design
heuristics
searching
+
–
0
0 votes
0
0 answers
495
495 views
NIELIT 2021 Dec Scientist B - Section B: 59
Which of the following type of search is easiest to implement?Linear searchNon-linear searchMultidimensional searchBidirectional search
admin
495
views
asked
Jul 21, 2022
Algorithms
nielit-2021-it-dec-scientistb
data-structures
searching
algorithms
+
–
10
10 votes
3
answers
3 answers
2.3k
2.3k views
GO Classes Test Series 2023 | Algorithms | Test 1 | Question: 9
Given an unsorted array of $n$ distinct elements, you want to find this set of $\log n$ elements: those at positions $1,2,4,8,16, \ldots, n/2$ if array were sorted. In ot...
GO Classes
2.3k
views
asked
Jun 13, 2022
Algorithms
goclasses2024-algo-1-weekly-quiz
goclasses
algorithms
searching
binary-search
two-marks
+
–
0
0 votes
1
1 answer
849
849 views
NIELIT 2021 Dec Scientist A - Section B: 55
If a hash table is implemented as a search tree, the expected time required to enter $\text{n}$ names and make $\text{m}$ searches is proportional to :$\text{(n+m)} \log_...
soujanyareddy13
849
views
asked
Jan 9, 2022
Data Structures
nielit2021dec-scientista
data-structures
searching
time-complexity
algorithm-design
+
–
1
1 vote
1
1 answer
821
821 views
NIELIT Scientific Assistant A 2020 November: 65
Finding the location of the element with a given value is :TraversalSearchSortNone of the options
gatecse
821
views
asked
Dec 9, 2020
Algorithms
nielit-sta-2020
algorithms
searching
+
–
1
1 vote
3
3 answers
1.8k
1.8k views
NIELIT 2017 DEC Scientist B - Section B: 8
Let $A$ be an array of $31$ numbers consisting of a sequence of $0$’s followed by a sequence of $1$’s. The problem is to find the smallest index $i$ such that $A[i]$ is $...
admin
1.8k
views
asked
Mar 30, 2020
Algorithms
nielit2017dec-scientistb
algorithms
searching
array
+
–
0
0 votes
1
1 answer
1.2k
1.2k views
Cormen Edition 3 Exercise 2.3 Question 6 (Page No. 39)
Observe that the while loop of the INSERTION-SORT procedure uses a linear search to scan (backward) through the sorted subarray $A[i\dots j-1]$ Can we use a binary search...
akash.dinkar12
1.2k
views
asked
Jun 26, 2019
Algorithms
algorithms
cormen
searching
descriptive
+
–
0
0 votes
0
0 answers
518
518 views
Cormen Edition 3 Exercise 2.3 Question 5 (Page No. 39)
Referring back to the searching problem (see Exercise 2.1-3), observe that if the sequence $A$ is sorted, we can check the midpoint of the sequence against $v$ and elimin...
akash.dinkar12
518
views
asked
Jun 26, 2019
Algorithms
cormen
algorithms
searching
descriptive
+
–
0
0 votes
1
1 answer
4.2k
4.2k views
Cormen Edition 3 Exercise 2.2 Question 3 (Page No. 29)
Consider the linear search again (see Exercise 2.1-3). How many elements of the input sequence need to be checked on the average, assuming that the element being searched...
akash.dinkar12
4.2k
views
asked
Jun 25, 2019
Algorithms
cormen
algorithms
searching
descriptive
+
–
0
0 votes
0
0 answers
637
637 views
Cormen Edition 3 Exercise 2.1 Question 3 (Page No. 22)
Consider the searching problem:Input: A sequence of $n$ numbers $A = \langle a_1, a_2,\dots a_n \rangle$ and a value $v$ Output: An index $i$ such that $v=A[i]$ or the s...
akash.dinkar12
637
views
asked
Jun 25, 2019
Algorithms
cormen
algorithms
searching
descriptive
+
–
2
2 votes
1
1 answer
3.0k
3.0k views
Vani Qs Bank Algorithms
.Given an array of distinct integers A[1, 2,…n]. Find the tightest upper bound to check the existence of any index i for which A[i]=i.Ans should be O(log n) right by doin...
Hirak
3.0k
views
asked
May 21, 2019
Algorithms
algorithms
array
searching
vani-booklet
+
–
1
1 vote
1
1 answer
937
937 views
Applied Course | Mock GATE | Test 1 | Question: 47
In a sorted file structure, let the cost of reading a page be $D=10$ milliseconds, the number of data pages be $B=1024$. Let the average time to process a record is $C=5$...
Applied Course
937
views
asked
Jan 16, 2019
Algorithms
applied-course-2019-mock1
algorithms
searching
+
–
0
0 votes
1
1 answer
975
975 views
UGC NET CSE | December 2018 | Part 2 | Question: 94
Match List I with List II and choose the correct answer from the code given below.List IList II(a)Greedy Best-First Search(i)Selects a node for expansion if optimal path ...
Arjun
975
views
asked
Jan 2, 2019
Artificial Intelligence
ugcnetcse-dec2018-paper2
artificial-intelligence
searching
algorithms
+
–
1
1 vote
1
answers
1 answer
1.1k
1.1k views
GATE Overflow | Mock GATE | Test 1 | Question: 32
A sequential search operation is performed on an array $A$ for the key value of $'x'$ (ignore quotes). Consider the following piece of assembly language code that uses ba...
Ruturaj Mohanty
1.1k
views
asked
Dec 27, 2018
Algorithms
go-mockgate-1
algorithms
searching
compiler-design
intermediate-code
code-optimization
one-mark
+
–
0
0 votes
0
0 answers
795
795 views
TANCET 2017 LINEAR SEARCH
Balaji Jegan
795
views
asked
Oct 23, 2018
Algorithms
tancet
linear-search
array
algorithm-design
data-structures
searching
+
–
2
2 votes
0
0 answers
649
649 views
Algorithm Searching
Which is faster and by how much, a linear search of only 1000 elements on a 5-GHz computer or a binary search of 1 million elements on a 1-GHz computer. Assume that the e...
Vaishnavi01
649
views
asked
Sep 23, 2018
Algorithms
algorithms
searching
+
–
1
1 vote
2
2 answers
2.2k
2.2k views
what is the expected number of comparisons made before the algorithm terminates ?
Consider the following algorithm for searching for a given number $x$ in an unsorted array $A[1 \ldots n]$ having $n$ values :1. Sequentially choose $i$ from 1 to $n$2. i...
radha gogia
2.2k
views
asked
Aug 7, 2018
Algorithms
algorithms
searching
normal
test-series
+
–
1
1 vote
1
1 answer
1.3k
1.3k views
Ace Algorithms
Suppose A is a sorted array and some of the elements are duplicates. What is the best upper bound to find out the number of elements that are equal to a given key 'k'a)...
Sambhrant Maurya
1.3k
views
asked
Aug 7, 2018
Algorithms
algorithms
searching
+
–
0
0 votes
0
0 answers
551
551 views
Better Algorithm for aggregating data from LDAP Systems
This question is not related to GATE, but certainly would help you to grill your mind to come up with a better approach.. Feel free to comment if you think, this is not a...
Arunav Khare
551
views
asked
May 14, 2018
Programming in C
algorithms
searching
+
–
Page:
1
2
next »