Vector¶
Brief explanation.
Operations & time complexity¶
Methods | RunningTime |
---|---|
push_back(val) | O(1) |
pop() | O(1) |
empty() | O(1) |
you can use table generator
Implementation¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
keep your implementation self-contained.
Related Problems¶
add difficulty information(optional)
Related Topics¶
Analysis (Optional)¶
You can add some mathematical things here using KaTex
as a block tag $$ T(N) = O(N*M) $$
or as a inline tag $T(N) = O(N) $
Contributers (Optional)¶
07.12.2019 contributer1
07.14.2019 typo correction contributer2
07.15.2019 add new section "Analysis" contributer3
07.18.2019 fix bugs in "implementation" contributer4
07.19.2019 improved performance "implementation" contributer5
07.23.2019 refactoring "implementation" contributer6
08.02.2019 add related problems contributer7