Answers for "deque vs list"

1

deque vs list

Insert/erase at the beginning       in middle        at the end

Deque:       Amortized constant                  Linear           Amortized constant
List:        Constant                            Constant         Constant
Posted by: Guest on July-29-2021

Browse Popular Code Answers by Language