news.shamcode.ru
  • Home
  • Contact
github

TheAlgorithms / Rust

  • среда, 23 февраля 2022 г. в 00:31:13
https://github.com/TheAlgorithms/Rust


All Algorithms implemented in Rust



The Algorithms - Rust Gitter build

All algorithms implemented in Rust (for educational purposes)

These are for demonstration purposes only. RESTART BUILD

Sort Algorithms

  • Bubble
  • Cocktail-Shaker
  • Counting
  • Heap
  • Insertion
  • Gnome
  • Merge
  • Odd-even
  • Quick
  • Radix
  • Selection
  • Shell
  • Stooge
  • Comb
  • Bucket

Graphs

  • Dijkstra
  • Kruskal's Minimum Spanning Tree
  • Prim's Minimum Spanning Tree
  • Breadth-First Search (BFS)
  • Depth First Search (DFS)
  • Bellman-Ford

Math

  • Extended euclidean algorithm
  • Greatest common divisor
  • Pascal's triangle

Dynamic Programming

  • 0-1 Knapsack
  • Edit Distance
  • Longest common subsequence
  • Longest continuous increasing subsequence
  • Longest increasing subsequence
  • K-Means Clustering
  • Coin Change
  • Rod Cutting
  • Egg Dropping Puzzle
  • Maximum Subarray
  • Is Subsequence
  • Maximal Square

Data Structures

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

Strings

  • Aho-Corasick Algorithm
  • Burrows-Wheeler transform
  • Knuth Morris Pratt
  • Manacher
  • Rabin Carp
  • Reverse

General

  • Convex Hull: Graham Scan
  • N-Queens Problem
  • Graph Coloringp
  • Tower of Hanoi
  • Kmeans
  • Two Sum

Search Algorithms

  • Linear
  • Binary
  • Recursive Binary
  • Kth Smallest

Geometry

  • Closest pair of 2D points

Ciphers

  • Caesar
  • Morse Code
  • Polybius
  • SHA-2
  • TEA
  • Transposition
  • Vigenère
  • XOR
  • Rot13
    • Another Rot13
    • Rot13

All implemented Algos

See DIRECTORY.md

Contributing

See CONTRIBUTING.md