+ 1

Can anyone solve stack implementation using vector .

24th Sep 2017, 7:52 AM
Pema Loday
Pema Loday - avatar
2 Answers
+ 2
A stack needs a push and a pop operation, and a vector literally has push_back and pop_back so you don't need to do anything. (assuming you are talking about c++)
24th Sep 2017, 9:06 AM
Schindlabua
Schindlabua - avatar
0
I am taking about java bro would you like to help me by writing code bro???
28th Sep 2017, 10:23 AM
Pema Loday
Pema Loday - avatar