Giter VIP home page Giter VIP logo

applieddatastructures's Introduction

APPLIED DATA STRUCTURES

Practical and robust .NET-styled implementations of advanced data structures in C#, in which data structure classes are wrapped in .NET style and can get handy usage in .NET codes. Moreover, structures here are extendable for maintaining extra information for algorithm problems (e.g. assignments on Online Judges and ACM);

This repository is originally a playground for learning Data Structure class of Tsinghua Univerity, (Class Info Here), and also for reading the book Introduction to Algorithms. So data structures implemented here are mainly from the class and the book, but also some from Wiki pages.

The Project uses Contracts, thus the installation of code analyser like Code Contracts for .NET extension for VS is needed.

IMPLENTATION ROADMAP

The final goal of this project is to implement Advanced data structures listed in the List of Data Structures in wiki.

Primitive data structures following implemented by the .NET framework will not be re-implemented.

Simple data structure based on these structure (like Double-ended Queue(deque)(can be implemented with Doubly-Linked List), Matrix(can be implemented with Two-Dimension Array), Height Map), and some kinds of data structures which are programming tricks more than complete structures (like Bit field, Circular buffer, Control Table, Lookup table, Parallel array, Iliffe vector) will not be implemented here as well.

Algorithms implementations are not the goal of this project, but some of them will obviously be implemented when implementing data structures. And algorithm associated will implemented as much as possible.

Implemented:

Lists:

Binary Trees:

Heaps:

Multiway Trees:

In Plan:

  • B Trees (AA tree, B*, B+, 2-3 tree, 2-3-4 tree, (a,b)-tree)
  • Binomial Heap - 二项堆
  • Disjoint Set - 并查集
  • Fenwick Tree - 树状数组
  • Gap Buffer
  • Interval Tree - 区间树
  • KD Tree
  • Leftist - 左式堆/左偏堆
  • Quadtree - 四叉树/四分树
  • Range Tree - 范围树
  • Red Black Tree - 红黑树
  • Segment Tree - 线段树
  • Self-organizing List
  • Size Balanced Tree - SBT
  • Skip List - 跳表
  • Sparse Matrixes - 稀疏矩阵
  • Trie - 键树
  • Xor Linked List & Free List

Considering

  • Bloom Filter
  • Conc-Tree List
  • Octree - 八叉树
  • Fibnacci Heap - 斐波那契堆
  • Skew Heap - 斜堆
  • Stree (research paper here)
  • VList (research paper here, examples)

Lack of details

*Other Specific Applications Implemented:

Data Structures:

  • Dictionary based on BST: Implement IDictionary and ICollection
  • Splay List: List that supports range insert/remove/edit/reverse operations in O(lgn) time per element.

Algorithms:

Turn to Example Usages for more usage of these data structures.

REFERENCE

applieddatastructures's People

Contributors

cmpute avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.