Crowdly
Add to Chrome
Questions Bank (1442124 total)
A recursive function executes ____ its iterative counterpart.
more slowly than
100%
more quickly than
0%
at the same speed as
0%
proportionately to
0%
View this question
To simplify operations such as insert and delete, you can define the class to implement the node of a linked list as a
struct
.
True
100%
False
0%
View this question
In quicksort, all the sorting work is done in ____ the list.
combining
0%
duplicating
0%
partitioning
100%
replicating
0%
View this question
In a doubly linked list, some of the operations require modification from how they were implemented for a regular linked list, because of the ____ pointer(s) in each node.
two
100%
null
0%
three
0%
binary
0%
View this question
A doubly linked list is a linked list in which every node has a next pointer and a null pointer.
True
0%
False
100%
View this question
When sorting a list, the smallest item must be moved to position 0.
True
100%
False
0%
View this question
To determine whether the item to be inserted is already in the list, the
insert
function calls the _____ member function.
seqSearch
100%
copy
0%
size
0%
isEmpty
0%
View this question
Given a pointer to a list, the function ____ prints the elements of the list in reverse order.
reversePrint
100%
invert
0%
translate
0%
reverse
0%
View this question
In a(n) ____, a list is sorted by selecting elements in the list, one at a time, and moving them to their proper positions.
insertion sort
100%
bubble sort
0%
quicksort
0%
selection sort
0%
View this question
The general case in a recursive function is the case for which the solution is obtained directly.
True
0%
False
100%
View this question
Previous
1
More pages
569
570
571
572
573
More pages
144213
Next
Telegram
Instagram
TikTok
Question Bank
Terms of Use
Contact Us
Add to Chrome