Skip to content

nugit/LYANL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn Yourself a New Language (LYANL)

This repository encourages anyone to share code snippets of standard algorithms in any language of their liking to help themselves/others pick up a new programming language!

To contribute, fork this repository and make a pull request with your changes.

Languages:

We're looking to support these languages for a start (version in parenthesis):

  • Java (8)
  • JavaScript (ES6+)
  • Python (2.7+)
  • Ruby (2.4+)
  • Scala (2.12+)
  • ReasonML (3.2+)
  • Rust (1.33+)

Sort Algorithms:

  • Selection Sort
  • Bubble Sort
  • Insertion Sort
  • Merge Sort
  • Quick Sort
  • Bucket Sort
  • Heap Sort
  • Counting Sort

Search Algorithms:

  • Depth First Search
  • Breadth First Search
  • Binary Search

(Optional) Setting up GitHub Pages with Jerkyll locally

(More information can be found here)

  1. Open Terminal
  2. Check whether you have Ruby 2.1.0 or higher installed:
$ ruby --version
ruby 2.X.X
  1. If you don't have Ruby installed, install Ruby 2.1.0 or higher.
  2. Install Bundler:
$ gem install bundler
  1. Install Jekyll and other dependencies from the GitHub Pages gem:
$ bundle install
  1. In the root directory of your local Jekyll site repository, run
$ bundle exec jekyll serve
  1. Preview your local Jekyll site in your web browser at https://localhost:4000.