As it was presented in the lecture that array has 3 elements and capacity of 4. If we delete one element then will the capacity remain same that is 4 or it will become 2?
As it was presented in the lecture that array has 3 elements and capacity of 4. If we delete one element then will the capacity remain same that is 4 or it will become 2?