1. >Programming and Data Structure
Found 2  QuestionsSET DEFAULT
Selected Filters
    Programming and Data Structure Pointer
Exams
Subjects
Topics

List of top Programming and Data Structure Questions on Pointer

Consider a stack data structure into which we can PUSH and POP records. Assume that each record pushed in the stack has a positive integer key and that all keys are distinct. We wish to augment the stack data structure with an \( O(1) \) time MIN operation that returns a pointer to the record with the smallest key present in the stack: 1) Without deleting the corresponding record, and 2) Without increasing the complexities of the standard stack operations. Which one or more of the following approach(es) can achieve it?
  • GATE CS - 2025
  • GATE CS
  • Programming and Data Structure
  • Pointer
In a linked list, a pointer of the last node contains a special value, called
  • CUET (PG) - 2023
  • CUET (PG)
  • Programming and Data Structure
  • Pointer