We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb32065 commit 1214f45Copy full SHA for 1214f45
Arrays/readme.md
@@ -0,0 +1,7 @@
1
+Deletion in a vector takes O(1) time if order doesn't matter.
2
+Delete ith indexed value.
3
+
4
+```
5
+swap(arr[i], arr[n-1]);
6
+arr.pop_back();
7
0 commit comments