linked-list
Using an iterator with a linked list in Java
I have created a linked-list class called \"SList\", which allows an empty linked-list to be created. The method \"insertFront\" inserts an object at the front of the list and increases the size. Belo[详细]
2023-03-31 10:03 分类:问答Sorting linked lists in C [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-03-30 10:41 分类:问答Java Linked List Questions
I开发者_Go百科\'m trying to understand how Linked Lists are implemented in Java. Should I create separate linked list classes for lists and nodes, or can I just call import java.util.LinkedList, or[详细]
2023-03-30 06:56 分类:问答C++: STL linked list - += duplicating node
I am working on a Polynomial class which uses the STL linked list. One of the functions requires me to add two Polynomial\'s together. For some reason, the += operator seems to be duplicating the node[详细]
2023-03-30 04:05 分类:问答returning middle element in stack
I have to create a method peek MidElement , so as return the middle element of the stack . So do I have to use an ArrayList, or TORTOISE-HARE algo .[详细]
2023-03-30 03:19 分类:问答Which sorting algorithm used here
In an online event, I have to complete a partially finished code. They use linklist data structure to store each element.The time complexity is O(n*n)[详细]
2023-03-30 01:07 分类:问答C: Printing linked list backwards
Trying to print this list backwards 开发者_Python百科user inputs 10 characters, program prints out 10 characters in original order then in reverse order.[详细]
2023-03-30 00:30 分类:问答Cannot convert from Node<E> to Node<E>?
I am just doing some practice from one of my books, and I was curious about why I am getting the following error in eclipse:[详细]
2023-03-29 11:46 分类:问答Why are circular linked lists used in storage allocators instead of a tree?
How come storage alloc开发者_StackOverflow社区ators use a circular linked list to store allocated/ free addresses instead of a balanced tree? Traversing a linked list would require O(n) order of compl[详细]
2023-03-29 08:28 分类:问答Does any (R)DBMS exist that supports Linked Lists?
Are there any commercial databases that support data types pointing to the root node of say a linked list?[详细]
2023-03-29 07:09 分类:问答