set-2
51. What is the process of finding the location of a given item in a collection of items called?
52. What is the time complexity of quicksort?
53. What is quicksort also known as?
54. What sorting method is good for alphabetizing a large list of names?
55. What is the total number of comparisons in a bubble sort?
56. What form of access is used to add and remove nodes from a queue?
57. Enqueue is the process of ………..
58. What is the term "push and pop" related to?
59. What is an application of stack?
60. What is the operation of processing each element in a list called?
61. What is the situation when in a linked list, START=NULL called?
62. What are two-way lists?
63. What is the pointer associated with the availability list?
64. What data structure cannot store non-homogeneous data elements?
65. What is a non-linear data structure?
66. What data structure is suitable for representing hierarchical relationships between elements?
67. What data structure allows deletions at both ends of the list but only allows insertion at one end?
68. What is the order of visiting nodes in a pre-order tree traversal?
69. What is the order of visiting nodes in a post-order tree traversal?
70. What is the order of visiting nodes in an in-order tree traversal?
71. What is the average time complexity of searching for an element in a binary search tree?
72. What is the worst-case time complexity of searching for an element in a binary search tree?
73. What is the average time complexity of inserting an element into a binary search tree?
74. In a linked list, what is the time complexity of inserting an element at the beginning of the list?
75. What is the time complexity of deleting an element from the middle of a linked list?
76. What is a circular linked list?
77. What is a doubly linked list?
78. What is the advantage of using a doubly linked list over a singly linked list?
79. What is the time complexity of reversing a linked list?
80. What is the time complexity of finding an element in a binary tree?
81. What is the time complexity of inserting an element in a binary tree?
82. What is the time complexity of deleting an element in a binary tree?
83. What is the time complexity of searching for the minimum element in a binary tree?
84. What is the time complexity of searching for the maximum element in a binary tree?
85. What is the time complexity of performing an in-order traversal of a binary tree?
86. What is the time complexity of performing a pre-order traversal of a binary tree?
87. What is the advantage of using the array data structure among the following options?
88. Which among the following is an application of the queue data structure?
89. Which type of data structure can be used to implement queues among the following options?
90. Which type of data structure allows for insertion and deletion from both ends?
91. Which sorting algorithm is used to achieve the best time complexity in the worst-case scenario?
92. What term is used to describe the scenario when a user tries to remove an element from an empty stack?
93. What is the maximum number of non-zero values that can exist in an adjacency matrix of a simple graph with vertices?
94. What is the time complexity of the selection sort algorithm in the best and worst cases?
95. What type of sorting algorithm is the bubble sort algorithm?
96. What is the space complexity of the merge sort algorithm?
97. What is the time complexity of the quick sort algorithm in the average case?
98. Which sorting algorithm is used to sort linked lists?
99. Which sorting algorithm is most efficient for small data sets?
100. What is the time complexity of the insertion sort algorithm in the best case?
Last updated