GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Starting with an empty binary min heap, insert the following…

Starting with an empty binary min heap, insert the following numbers in this order. Write down the array representation. 12, 8, 13, 29, 3, 5, 9, 10, 1, 25

Read Details

A linked list has nodes with the pNext pointer. Which of the…

A linked list has nodes with the pNext pointer. Which of the following statement changes pNext so that it points to the next node?

Read Details

Which of the following run times is the fastest?

Which of the following run times is the fastest?

Read Details

You are given the following undirected graph. [Breadth] Lis…

You are given the following undirected graph. [Breadth] List the vertices in Breadth-first Search starting at vertex A: [Depth] List the vertices in Depth-first Search starting at vertex A:

Read Details

What output is displayed after the following segment of code…

What output is displayed after the following segment of code executes? 

Read Details

How does a queue add and remove entries?

How does a queue add and remove entries?

Read Details

Inserting the following character keys into an initially emp…

Inserting the following character keys into an initially empty min binary heap and fill in the contents of the binary heap array. A, L, G, O, R, I, T, H, M

Read Details

Build an AVL tree by inserting the keys, in that order into,…

Build an AVL tree by inserting the keys, in that order into, an initially empty AVL tree. Write down the pre-order traversal of the resulted tree. 5, 7, 9, 3, 4, 6, 11, 1, 12, 13, 8

Read Details

What is the output of the following code snippet? enum colou…

What is the output of the following code snippet? enum colour{    blue, red, yellow};main(){    enum colour c;    c = yellow;    printf(“%d”, c);}

Read Details

What is the output of the following code snippet? union test…

What is the output of the following code snippet? union test{    int x;    char arr[8];    int y;}; int main(){    printf(“%d”, sizeof(union test));     return 0;}

Read Details

Posts pagination

Newer posts 1 … 37,402 37,403 37,404 37,405 37,406 … 77,786 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top