Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Why do we use a deque here instead of a list?

Matt Lee

Sep 20, 2022

Why do we use a deque here instead of a list?

0

0

Comments
Comments
M
Matt Lee3 years ago

I noticed when we use a list instead of a deque, then we get repeated values in result? Why is this the case?

On this page