Congratulations! You’ve completed the lesson and have learned what deques are and how to implement one in Python. We have covered:

  • What a deque is and how it relates to queues and stacks
  • What operations (methods) are needed to implement a deque
  • How to implement these deque methods
  • The time complexity for each deque method

Happy Coding!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?