Categorize the following data structures into static and non-static:

arrays, lists, stacks, queues, maps, trees, graphs

(1 point)
Responses

static: array, stack, and queues
non-static: lists, maps, trees, and graphs
static: array, stack, and queues non-static: lists, maps, trees, and graphs

static: array and lists
non-static: stack, queues, maps, trees, and graphs
static: array and lists non-static: stack, queues, maps, trees, and graphs

static: array
non-static: lists, stacks, queues, maps, trees, and graphs
static: array non-static: lists, stacks, queues, maps, trees, and graphs

static: none
non-static: array, lists, stacks, queues, maps, trees, and graphs

1 answer

The correct categorization of the data structures into static and non-static is as follows:

  • Static: Array
  • Non-static: Lists, Stacks, Queues, Maps, Trees, Graphs

So, the correct response is:

static: array; non-static: lists, stacks, queues, maps, trees, and graphs.