• 2022-06-06
    A
    stack is a special type of linked list in which objects can only be
    added to and removed from the top of the list.
  • 正确

    举一反三

    内容

    • 0

      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

    • 1

      若通过List<br/>list = new List(); 创建的列表框,如何获得该列表框中当前选中的列表项(<br/>)。 A: list.getSelectedIndex() B: list. getSelectedItem( ) C: list. getItem (i) D: list. select (i)

    • 2

      What<br/>is the condition that a single linked list with a header node is not<br/>empty ?Suppose the head pointer of the linked list is first. () A: first<br/>== NULL B: first-&gt;link<br/>== NULL C: first-&gt;link<br/>== first D: first-&gt;link<br/>== link

    • 3

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

    • 4

      6. The most common operation for setting a linked list is to insert a node at the end and delete the tail node, so () is the most time-saving option. A: doubly linked circular list with a head node B: singly linked list C: singly linked circular list with a tail pointer D: singly linked circular list