Is LinkedList from java.util doubly linked list? And do i need to implement my own singly linked list or there is any class for this in java.util?
Just can't find straight answers over web.
From the LinkedList API documentation:
All of the operations perform as could be expected for a doubly-linked list.
Unless memory is an issue, a double-linked list is sufficient to meet all the needs that a single-linked list can meet.
LinkedListprovides many operations that would have vastly different performance characteristics depending on whether it's a singly- or doubly-linked list.