LinkedIn Python Skill Assessment Quiz Answers

What is runtime complexity of the list’s built-in .append() method?

Latest Update on 25th January, 2022 by Certification Course Answers

What is runtime complexity of the list's built-in .append() method?

  1.  O(1), also called constant time
  2.  O(log n), also called logarithmic time
  3.  O(n^2), also called quadratic time
  4.  O(n), also called linear time

Correct Answer:

  •  O(1), also called constant time

Latest Updates

No posts found in this category.