GithubHelp home page GithubHelp logo

agrism / rust-algorithms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexfertel/rust-algorithms

0.0 1.0 0.0 43 KB

Algorithms and Data Structures of all kinds written in Rust.

Rust 100.00%

rust-algorithms's Introduction

Classic Algorithms in Rust

This repo contains the implementation of various classic algorithms for educational purposes in Rust. Right now, it is in its early stages, but the plan is to include a comprehensive list of algorithms. Contributions are welcome!

The main goal right now is to match the current algorithms implemented in https://github.com/TheAlgorithms/Rust.

Algorithms

Sorting Algorithms

  • Bubble
  • Counting
  • Heap
  • Insertion
  • Merge
  • Quick
  • Radix
  • Selection
  • Shell

Graphs

  • Dijkstra
  • Kruskal's Minimum Spanning Tree
  • Prim's Minimum Spanning Tree
  • BFS
  • DFS

Dynamic Programming

  • 0-1 Knapsack
  • Edit Distance
  • Longest common subsequence
  • Longest increasing subsequence
  • K-Means Clustering
  • Coin Change
  • Rod cutting
  • Egg Dropping Puzzle

Data Structures

  • Queue
  • Heap
  • Linked List
  • Graph
  • Trie
  • Binary Search Tree
  • B-Tree
  • AVL Tree

String Matching

  • Naive
  • Rabin Carp
  • Finite Automaton
  • Knuth Morris Pratt

General

  • Convex Hull: Graham Scan
  • N-Queens
  • Graph Coloring
  • Tower of Hanoi

Ciphers

  • Transposition

Bit Manipulation

  • Bit Distance
  • Bits Length
  • Clear Bit
  • Count Ones
  • Divide By Two
  • Get Bit
  • Is Even
  • Is Positive
  • Is Power Of Two
  • Multiply By Two
  • Multiply Signed
  • Multiply Unsigned
  • Set Bit
  • Twos Complement
  • Update Bit

Contributing

See CONTRIBUTING.md

rust-algorithms's People

Contributors

alexfertel avatar agrism avatar jonakr avatar

Watchers

James Cloos 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.