GoConqr has a new look! Let us know what you think.

Flashcards

Exam 2

Zamin Shaikh CS1 University Course English 20 cards

Exam 2

Cards in this deck (20)

  1. 1—1414
  2. 2—1212
  3. 3—3333
  4. 4—4747
  5. 5—4747
  6. 6—2323
  7. 7—4747
  8. 8—1717
  9. 9—1010
  10. 10—O(n log(n))O(n log(n))
  11. 11—O(n)O(n)
  12. 12—O(1)O(1)
  13. 13—If we maintain a tail pointer, the worst-case big-oh runtime for this sorted insertion remains unaffected.If we maintain a tail pointer, the worst-case big-oh runtime for this sorted insertion remains unaffected.
  14. 14—O(1)O(1)
  15. 15—O(1)O(1)
  16. 16—O(1)O(1)
  17. 17—O(n)O(n)
  18. 18—O(n)O(n)
  19. 19—
  20. 20What is the runtime for searching for an element in a BSTBest Case: O(1)
    Worst Case: O(n)
    Average Case: O(logn)

Information

Description
University Course CS1 Flashcards on Exam 2, created by Zamin Shaikh on 17/01/2023.
Created by
Zamin Shaikh
Views
5
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?