Embercode
✕
Time and Space ComplexityQuick quiz

Grids, graphs and big numbers

7 questions. Covers Big-number arithmetic cost.

Questions 1 to 5 of 7

  1. 1. Which statements about a full breadth-first search over an R by C grid, where every cell is reached, are correct?

    Pick every answer that is true.

  2. 2. The graph in the lesson has 5 vertices and the edges 0-1, 0-2, 1-2 and 2-3. Which statements about its storage are correct?

    Pick every answer that is true.

  3. 3. Which statements about adding and multiplying two numbers with n decimal digits each, using the digit model from the lesson, are correct?

    Pick every answer that is true.

  4. 4. A full breadth-first search over a graph with an adjacency list costs about O(____).

    Type your answer.

  5. 5. The growth rate of schoolbook multiplication of two numbers with n digits each is n to the power of ____.

    Type your answer.

5 question(s) left on this page.

Typed answers ignore extra spaces and, for most questions, capital letters.