• 2022-06-04
    In a doubly linked list, each node has links to the previous and next nodes in the list.
    A: 正确
    B: 错误
  • A

    举一反三

    内容

    • 0

      14. The characteristic of the tail node P of the linked circular list H is (). A: P->next=H B: P->next= H->next C: P=H D: P=H->next

    • 1

      单选题 The () is a pointer that identifies the next element in the linked list. A: link B: node C: array D: a or b

    • 2

      In a singly linked list which operation depends on the length of the list.( ) A: Interchange the first two elements of the list B: Delete the first element of the list C: Add an element before the first element of the list D: Delete the last element of the list

    • 3

      Consider an implementation of unsorted singly linked list. Suppose it has representation which a head pointer only. Given the representation, which of the following operation can be implemented in O(1) time?(I). Insertion at the front of the linked list.(II). Insertion at the end of the linked list.(III). Deletion of the front node of the linked list.(IV). Deletion of the last node of the linked list. A: I, II, and IV B: I and II C: I, II, and III D: I and III

    • 4

      You<br/>are given pointers to first and last nodes of a singly linked list,<br/>which of the following operations are dependent on the length of the<br/>linked list? () A: Delete<br/>the first element B: Insert<br/>a new element as a first element C: Delete<br/>the last element of the list D: Add<br/>a new element at the end of the list