recongamer / Hacktoberfest2021

Repository dedicated for beginner to compete in Hacktoberfest 2021 challenge . Create HactoberFest Pull Request
46 stars 208 forks source link

Added a Self-Organizing Doubly Linked List class #295

Closed jnomikos closed 2 years ago

jnomikos commented 2 years ago

Essentially, this doubly linked list will move a node that is searched for and found closer to the front, like how a search engine would. It does by a random amount because that is proven to run at O(logn) time when an item is found compared to O(n) time