Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged goclasses-da-dpp-day-242
2
2 votes
1
1 answer
162
162 views
GO Classes DPP | GATE CS, DA | Algorithms | Quicksort Partition
The standard $2$-way quicksort partition procedure uses the first element as the pivot and stops both scans when they encounter an element equal to the pivot.It is applie...
GO Classes
162
views
asked
Aug 5
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-242
goclasses-cs-dpp
goclasses-cs-dpp-day-340
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
divide-and-conquer
quick-sort
numerical-answers
+
–
5
5 votes
1
1 answer
167
167 views
GO Classes DPP | GATE CS, DA | Algorithms | Divide and Conquer
Suppose $n$ elements are divided into groups of $r$ elements. The median of each group is found, and the median of these group medians is used as the selection pivot.For ...
GO Classes
167
views
asked
Aug 5
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-242
goclasses-cs-dpp
goclasses-cs-dpp-day-340
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
divide-and-conquer
+
–
1
1 vote
1
1 answer
121
121 views
GO Classes DPP | GATE CS, DA | Algorithms | Implementation Choices
Which of the following are important design choices rather than arbitrary choices?In binary search, compute the middle index using $\texttt{(lo + hi) >> 1}$ instead of $\...
GO Classes
121
views
asked
Aug 5
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-242
goclasses-cs-dpp
goclasses-cs-dpp-day-340
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
multiple-selects
+
–
4
4 votes
1
1 answer
115
115 views
GO Classes DPP | GATE CS, DA | Algorithms | Randomized Quicksort
An array contains $n\geq 8$ distinct elements:$a_1<a_2<\cdots<a_n$The array is sorted using randomized quicksort.What is the probability that $a_7$ and $a_8$ are compared...
GO Classes
115
views
asked
Aug 5
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-242
goclasses-cs-dpp
goclasses-cs-dpp-day-340
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
divide-and-conquer
quick-sort
+
–
1
1 vote
1
1 answer
134
134 views
GO Classes DPP | GATE CS, DA | Algorithms | Merge Comparison
Two sorted subarrays, each containing $n/2$ elements, are merged into one sorted array of length $n$.What is the possible range for the number of key comparisons made dur...
GO Classes
134
views
asked
Aug 5
Algorithms
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-242
goclasses-cs-dpp
goclasses-cs-dpp-day-340
algorithms
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-algo-practice-questions
divide-and-conquer
merge-sort
+
–
To see more, click for the
full list of questions
or
popular tags
.