List of generic algorithms and data structures

Posted by Jake Petroules on Stack Overflow See other posts from Stack Overflow or by Jake Petroules
Published on 2010-06-14T20:26:36Z Indexed on 2010/06/14 20:32 UTC
Read the original article Hit count: 277

Filed under:
|

As part of a library project, I want to include a plethora of generic algorithms and data structures. This includes algorithms for searching and sorting, data structures like linked lists and binary trees, path-finding algorithms like A*... the works.

Basically, any generic algorithm or data structure you can think of that you think might be useful in such a library, please post or add it to the list. Thanks! (NOTE: Because there is no single right answer I've of course placed this in community wiki... and also, please don't suggest algorithms which are too specialized to be provided by a generic library)

The List:

  • Data structures
    • AVL tree
    • B-tree
      • B*-tree
      • B+-tree
    • Binary tree
      • Binary heap
      • Binary search tree
    • Linked lists
      • Singly linked list
      • Doubly linked list
    • Stack
    • Queue
  • Sorting algorithms
    • Binary tree sort
    • Bubble sort
    • Heapsort
    • Insertion sort
    • Merge sort
    • Quicksort
    • Selection sort
  • Searching algorithms

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about data-structures