>
AP PGECET
>
Computer Science & Information Technology
List of top Computer Science & Information Technology Questions on Data Structures asked in AP PGECET
The time complexity to compute the 15\(^\text{th}\) Fibonacci number using dynamic programming is _______ .
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
One way to build a heap is to start at the end of the array (the leaves) and push each new value up to the root. Its time complexity is _______ .
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
If the recursive call keeps calculating the same things over and over again, we can use _______ which stores partial results already calculated and to be used again.
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
The _______ process updates the costs of all the vertices \(V\), connected to a vertex \(U\), if we could improve the best estimate of the shortest path to \(V\) by including \((U,V)\) in the path to \(V\).
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
A threaded binary tree is a binary tree in which every node that does not have right child has a thread to its _______.
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
Which notation represents the tightest upper bound of an algorithm’s running time?
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
The minimum possible time complexity to sort \(n\) integers in the range [1, \(n^2\)] is _______ .
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
The greedy approach is optimal for _______ .
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
Best case complexity of insertion sorting is _______ .
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
If one wants to add and delete elements quickly without reshuffling the rest, then which data structure suits the best?
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
The height of a binary tree with 31 nodes (assuming no single-child nodes) is _______.
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
In a max-heap, the largest element is always located at the _______.
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
The recurrence T(n) = 2T(n/2) + n has a solution of _______.
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
What is the time complexity to insert an element at the beginning of a dynamic array?
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
The inorder traversal of a BST gives elements in _______.
AP PGECET - 2025
AP PGECET
Computer Science & Information Technology
Data Structures
Which one of the following statements is true?
AP PGECET - 2024
AP PGECET
Computer Science & Information Technology
Data Structures
How much memory is required to store the elements of the array defined as float items[4][5][6];
AP PGECET - 2024
AP PGECET
Computer Science & Information Technology
Data Structures
What is the maximum number of binary trees possible with 4 nodes?
AP PGECET - 2024
AP PGECET
Computer Science & Information Technology
Data Structures
A one-dimensional array has n elements stored from 0th position to (n-1)th position. How many elements need to be moved to insert an element at pth position of the array?
AP PGECET - 2024
AP PGECET
Computer Science & Information Technology
Data Structures
What is the data structure used for converting a recursive program into the non-recursive version of the same?
AP PGECET - 2024
AP PGECET
Computer Science & Information Technology
Data Structures