← All ICC Flashcard Decks

Data Structures and Algorithms Flashcards

7 cards from real ICC practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Data Structures and Algorithms flashcards as text
  1. What does Big O notation describe in algorithm analysis?

    Answer: An upper bound on the growth rate of an algorithm's time or space usage

    Big O provides an asymptotic upper bound, describing how an algorithm's resource usage grows in the worst case.

  2. Dynamic programming solves complex problems by:

    Answer: Breaking them into overlapping subproblems and storing results to avoid recomputation

    Dynamic programming uses memoization or tabulation to store subproblem results, eliminating redundant calculations.

  3. Which algorithm design paradigm does Merge Sort follow?

    Answer: Divide and Conquer

    Merge Sort divides the array in half, recursively sorts each half, then merges the sorted halves together.

  4. What is the space complexity of an algorithm that uses only a fixed number of variables regardless of input size?

    Answer: O(1)

    O(1) space complexity means memory usage is constant and does not grow with the input size.

  5. Dijkstra's algorithm is used to find:

    Answer: The shortest path from a source node to all other nodes

    Dijkstra's algorithm computes the shortest path from a single source to every reachable vertex in a weighted graph.

  6. The Fibonacci sequence computed recursively without memoization has which time complexity?

    Answer: O(2ⁿ)

    Naive recursive Fibonacci recomputes the same subproblems exponentially, resulting in O(2ⁿ) time complexity.

  7. Which data structure enables O(1) average-case lookup, insertion, and deletion?

    Answer: Hash Table

    A hash table uses a hash function to map keys to array indices, enabling constant-time average operations.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. iccsafe.org — Retake policy, score release, renewal, score validity, test delivery, passing score, exam format, time limit · verified Oct 2026
  2. shop.iccsafe.org — Fees · verified Oct 2026