Notes
This function is in beta test. Please help improve it in the issues
here.
Your Answer
size: 0, capacity: 0 size: 1, capacity: 1 a size: 2, capacity: 2 a b size: 3, capacity: 4 a b c size: 4, capacity: 4 a b c 1 size: 5, capacity: 8 a b c 1 2 a c 2 size: 4, capacity: 4 a b c 1 back: 1 size: 3, capacity: 4 a b c back: c size: 2, capacity: 2 a b back: b size: 0, capacity: 0 vec.data == NULL? 1
JOJ Answer
size: 0, capacity: 0 size: 1, capacity: 1 a size: 2, capacity: 2 a b size: 3, capacity: 4 a b c size: 4, capacity: 4 a b c 1 size: 5, capacity: 8 a b c 1 2 a c 2 size: 4, capacity: 4 a b c 1 back: 1 size: 3, capacity: 4 a b c back: c size: 2, capacity: 2 a b back: b size: 0, capacity: 0 vec.data == NULL? 1