Podcast
Questions and Answers
In a stack data structure, which of the following statement(s) is/are NOT correct?
In a stack data structure, which of the following statement(s) is/are NOT correct?
What is the purpose of GETNODE() and RETURNNODE() in a linked list?
What is the purpose of GETNODE() and RETURNNODE() in a linked list?
Which type of queue is based on the First In First Out (FIFO) principle?
Which type of queue is based on the First In First Out (FIFO) principle?
What does 'underflow' mean in the context of a stack?
What does 'underflow' mean in the context of a stack?
Signup and view all the answers
Which operation is used to delete an element from a Stack?
Which operation is used to delete an element from a Stack?
Signup and view all the answers
What data structure is needed to convert infix notation to postfix notation?
What data structure is needed to convert infix notation to postfix notation?
Signup and view all the answers
Expand LIFO.
Expand LIFO.
Signup and view all the answers
Which data structure follows the Last In First Out (LIFO) principle?
Which data structure follows the Last In First Out (LIFO) principle?
Signup and view all the answers
In general, what is the index of the first element in an array?
In general, what is the index of the first element in an array?
Signup and view all the answers
What are the advantages of arrays?
What are the advantages of arrays?
Signup and view all the answers
What is a collection of items stored at contiguous memory locations?
What is a collection of items stored at contiguous memory locations?
Signup and view all the answers
How do you access an element in an array?
How do you access an element in an array?
Signup and view all the answers
How is the memory allocated to store the elements in a one-dimensional array?
How is the memory allocated to store the elements in a one-dimensional array?
Signup and view all the answers
Which of the following creates a two-dimensional array with dimensions 2×2?
Which of the following creates a two-dimensional array with dimensions 2×2?
Signup and view all the answers
Which operation is used to visit every single node in a list from first to last?
Which operation is used to visit every single node in a list from first to last?
Signup and view all the answers
What is a two-dimensional array having the value of majority elements as null?
What is a two-dimensional array having the value of majority elements as null?
Signup and view all the answers