linked-list
What kind of iteration should I use for LinkedList?
I know that traversing LinkedList by indexing is bad, because list.get(n) is executed in linear time O(n). Thus i shouldn\'t use indexing. I looked at the AbstactList.Itr that is returned by iterator([详细]
2023-04-07 03:41 分类:问答To find the Nth node from last when visited nodes are getting deleted
So the question is : find kth node frm last in a linked list if nodes a disappearing once read.Thi开发者_Go百科s should be done in one pass only.[详细]
2023-04-07 00:16 分类:问答Implementing push/pop in a linked list (C++)
I\'m trying to incorporate push/pop into a linked list and I can\'t seem to get it to work. When I run my test function, I set my linked list to zero and I try to push on values but the list keeps get[详细]
2023-04-06 23:24 分类:问答Multithread access to a LinkedList in .Net
I need a linked list to be able to add items at both sides. The list will hold data to be shown in a trend viewer. As there is a huge amount of data I need to show data before its completely read so w[详细]
2023-04-06 21:27 分类:问答store line in linked list (c)
I think that I am having some issues with how linked lists work, please bear in mind that I am not an expert with C and that I have not worked with linked lists before.[详细]
2023-04-06 05:20 分类:问答Array-Based vs List-Based Stacks and Queues
I\'m trying to compare the growth rates (both run-time and space) for stack and queue operations when implemented as both arrays and as linked lists. So far I\'ve only been able to find average case r[详细]
2023-04-06 04:02 分类:问答LinkedList multithreading creating separate instances in Runnable
Code that illustrates my problem: public class Linkedlisttest { public static void main(String[] args) {[详细]
2023-04-05 23:37 分类:问答SQL Server 2008 linked MySQL server slow
Running MSSQL Server 2008 Standard SP 2 64-bit on Win2K8.I have installed on this server the 64-bit MySQL ODBC driver version 5.1.8 from 10/28/2010.I have configured a DSN linking to a MySQL server 5.[详细]
2023-04-05 18:11 分类:问答Assigning to a pointer returned by a function call
I\'m trying to implement a simple LinkedList The following开发者_运维问答 code, producing this error:[详细]
2023-04-05 09:10 分类:问答Java LinkedList accessing 2nd element
I have created a linkedlist which stores two elements. Can someone tell me how to access the second element. In this case, the lastName[详细]
2023-04-05 06:05 分类:问答