Talk:Search data structure

I don't see how a sorted linked list has an insertion efficiency of O(1). Don't you have to find where to insert it? I think it's O(n).

Talk:Search data structure

I don't see how a sorted linked list has an insertion efficiency of O(1). Don't you have to find where to insert it? I think it's O(n).

As a corollary, deletion would also be O(n). Must traverse the list to find the item. Trigger hurt (talk) —Preceding undated comment added 20:24, 16 October 2009 (UTC).Reply

I modified the table to reflect this. 143.44.78.159 (talk) 04:55, 24 May 2010 (UTC)Reply

Hash table worst case timing

The timing listed for search is O(1) while Hash table says O(n). Which is it? --ben_b (talk) 18:10, 16 April 2012 (UTC)Reply

Linked-list Insert/delete worst case

I strongly disagree with O(1) for linked-list insert/delete worst case timing. "If you know the target's location..." is not "the worst-case", it is the "best" case scenario considering the nature of the operation! How could this table survive this long without any objections or at least a simple discussion?! What would be the worst-case scenario in the mind of the author, I wonder ! 128.97.84.109 (talk) 21:46, 11 February 2014 (UTC)Reply

BTW, I will wait for a few days if no one objects to my comment I will change all of the linked-list "worst-case" insert/delete times to O(n) ... worst case = insert at the very end, delete from the very end, AND not having a MAGICAL reference to the insertion/deletion location (honestly, where does this magical pointer come from? Having these types of magical powers, one can solve many unsolvable problems in CS... don't you think?!). 128.97.84.109 (talk) 21:51, 11 February 2014 (UTC)Reply

"Search data structure"?

There no "Search data structure" in TOC of Introduction_to_Algorithms#Table_of_Contents, but there "III Data Structures".

Please merge content & delete Search data structure. Ushkin N (talk) 04:54, 24 May 2016 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.