How do I implement an already built in Stack/Queue/LinkedList

In a exam, ill have to use the in built Linked Lists/Stacks/Queues. Surely I cannot write the whole code.
How do I use that and its functions?

@Rishabh8488,

It actually depends on your class incharge/instructor and what approach she/he wants you to take. For user defined classes, you can write only functions that you are going to use as a way to save time. Or you can use inbuilt methods too.

For competitive programming competitions, inbuilt classes is the way to go.

There exist header files that have these data structures already implemented in them.
For example, you can use
#include<vector> header file in C++ to use vectors and all their functions.
#include<map> to use maps
#include<stacks>, #include<queue>, etc

Checkout STL for c++`

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.