Home / MCQ Bank / Computer
Computer Stacks In Data Structures Difficulty: Medium

Which of the following operations cannot be performed in O(1) time in a stack?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C++ code? #include <iostream> #include <algorithm> #include <vector> using namespace std; int main () { vector<int> myvector (5); fill (myvector.begin(), myvector.begin() + 4, 5); fill (myvector.begin() + 3,myvector.end() - 2, 8); for (vector<int> :: iterator it = myvector.begin(); it != myvector.end(); ++it) cout << ' ' << *it; return 0; } What do maps and sets support? In NiFi, what is the function of the "controller service"? What is the user-defined header file extension in c++? In data collection, what is the term for the process of recording data in its original form without any changes?