Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (1)
Windows (1)
XHTML (173)
Other Resources:
Searching Date in Linked Lists
How can I search for data in a linked list?
✍: FYIcenter
Unfortunately, the only way to search a linked list is with a linear search, because the only way a linked list's members can be accessed is sequentially. Sometimes it is quicker to take the data from a linked list and store it in a different data structure so that searches can be more efficient.
2007-02-26, 7578👍, 0💬
Popular Posts:
Can you tell me how to check whether a linked list is circular? Create two pointers, and set both to...
What is NullPointerException and how to handle it? When an object is not initialized, the default va...
What is the benefit of using an enum rather than a #define constant? The use of an enumeration const...
.NET INTERVIEW QUESTIONS - What is the difference between System exceptions and Application exceptio...
Describe different elements in Static Chart diagrams ? Package: - It logically groups element of a U...