To which kind of list does the following deletion algorithm correspond?Algorithm delete (list, deleteNode) if (deleteNode null) abort ("Impossible condition in delete double") end if if (deleteNode back not null) set predecessor to deleteNode back set predecessor fore to deleteNode fore else set list head to deleteNode fore end if if (deleteNode fore not null) set successor to deleteNode fore set successor back to deleteNode back else set list rear to deleteNode back end if recycle (deleteNode)end delete
A. linked list
B. circularly linked list
C. multilinked list
D. doubly linked list
Answer: D
You might also like to view...
What term is used to describe an electrical entity that hinders the flow of current and is often a result of a mismatch between two devices?
A. fade margin B. sensitivity C. negative gain D. impedance
Match the following terms with their definitions
I. Navigational flicks II. Bezel gestures III. Touch gestures IV. Editing flicks V. Gesture A. A gesture that start and/or ends at the edge of the screen. B. Quick short gestures that either scroll or move forward or backward a page. C. Quick short gestures in a diagonal direction that either delete, copy, paste or undo. D. Gestures made with a finger. E. A movement of the user's finger, fingers or pen on a touch screen.
Which salutation is capitalized correctly??
A. ?Dear Mr. Smith B. to whom it may concern? C. ?dear Dr. Forde
Which of thefollowing key items should be considered while creating a Facebook post??
A. ?Announce a special offer with a link for more information to drive traffic to your website. B. ?Avoid using abbreviations and all caps. C. ?Set a negative tone within the first sentence of the status update, which yields interest and engagement.? D. ?Do not respond to customer comments.