GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rlishtaba/algorithmable: Useful algorithms such as Sorting Strategies, Searches and Data Structures such as Priority Queues, Symbol Tables, Binary Search Tree BST, Red Black tree RBT, Hash Tables, Bag, Linked List, Deque, Queue (FIFO), Stack (LIFO), Graphs & Graph Traversal strategies for everyday usage.

BranchesTags
Open more actions menu

Latest commit

 

History

91 Commits
91 Commits

Folders and files

NameName
Last commit message
Last commit date
features/support
features/support
 
 
lib
lib
 
 
script
script
 
 
spec
spec
 
 
.gitignore
.gitignore
 
 
.rubocop.yml
.rubocop.yml
 
 
.travis.yml
.travis.yml
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
Gemfile
Gemfile
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
algorithmable.gemspec
algorithmable.gemspec
 
 
cucumber.yml
cucumber.yml
 
 

Repository files navigation

Build Status

Algorithmable

Useful algorithms such as Sorting Strategies, Searches and Data Structures such as Priority Queues, Symbol Tables, Binary Search Tree BST, Red Black tree RBT, Hash Tables, Bag, Linked List, Deque, Queue (FIFO), Stack (LIFO), Graphs & Graph Traversal strategies for everyday usage.

Algorithms and Data Structures implemented using Ruby, for fun.

Library also contains solutions for several puzzles solved by implemented algorithms and data structures.

Data Structures

  • Bag (primitive collection without ability to delete elements)
  • Singly Linked List
  • Doubly Linked List
  • Deque (double-ended queue)
  • Queue (FIFO)
  • Stack (LIFO)
  • Ordered Symbol Table BST. Implementation using Unbalanced Binary Search Tree.
  • Minimum Priority Queue
  • Maximum Priority Queue
  • Ordered Symbol Table

Graphs

  • Undirected graph

Graph Traversals

  • Breadth First Search (BFS)
  • Depth First Search (DFS)

Search Algorithms

  • Binary Search

Sorting Algorithms

  • Bubble sort
  • Merge sort
  • Heapsort ( Binary Heap )

Algorithms

  • Levenshtein Distance algorithm (http://www.levenshtein.net)
  • Lawrence Philips' Metaphone Algorithm (http://aspell.net/metaphone)

Puzzles

  • Shunting-yard algorithm ( Dijkstras two stacks algorithm )
  • Josephus problem

Usage

It is always better to check unit tests in order to understand how things going on. Most of the components are encapsulated through the factory methods, so the are could be mixed to other objects.

Installation

Add this line to your application's Gemfile:

gem 'algorithmable'

And then execute:

$ bundle

Or install it yourself as:

$ gem install algorithmable

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rlishtaba/algorithmable. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

Useful algorithms such as Sorting Strategies, Searches and Data Structures such as Priority Queues, Symbol Tables, Binary Search Tree BST, Red Black tree RBT, Hash Tables, Bag, Linked List, Deque, Queue (FIFO), Stack (LIFO), Graphs & Graph Traversal strategies for everyday usage.

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity

Stars

2 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.