Giter VIP home page Giter VIP logo

haskell-algorithms's Introduction

Haskell Algorithms

This repository contains Haskell based examples of algorithms and data structures. (Inspired by JavaScript Algorithms).

Table of Contents

Data Structures

Math

  • Bit Manipulation
  • Factorial
  • Fibonacci Number
  • Primality Test
  • Euclidean Algorithm
  • Least Common Multiple
  • Sieve of Eratosthenes
  • Is Power of Two
  • Pascal's Triangle
  • Complex Number
  • Radian & Degree
  • Fast Powering
  • Integer Partition
  • Square Root
  • Liu Hui π Algorithm
  • Discrete Fourier Transform

Sets

  • Cartesian Product
  • Fisher–Yates Shuffle
  • Power Set
  • Permutations
  • Combinations
  • Longest Common Subsequence
  • Longest Increasing Subsequence
  • Shortest Common Supersequence
  • Knapsack Problem
  • Maximum Subarray
  • Combination Sum

Strings

  • Hamming Distance
  • Levenshtein Distance
  • Knuth–Morris–Pratt Algorithm
  • Z Algorithm
  • Rabin Karp Algorithm
  • Longest Common Substring
  • Regular Expression Matching

Searches

  • Linear Search
  • Jump Search
  • Binary Search
  • Interpolation Search

Sorting

Linked Lists

  • Straight Traversal
  • Reverse Traversal

Trees

  • Depth-First Search
  • Breadth-First Search

Graphs

  • Depth-First Search
  • Breadth-First Search
  • Kruskal’s Algorithm
  • Dijkstra Algorithm
  • Bellman-Ford Algorithm
  • Floyd-Warshall Algorithm
  • Detect Cycle
  • Prim’s Algorithm
  • Topological Sorting
  • Articulation Points
  • Bridges
  • Eulerian Path and Eulerian Circuit
  • Hamiltonian Cycle
  • Strongly Connected Components
  • Travelling Salesman Problem

Cryptography

  • Polynomial Hash

Machine Learning

  • NanoNeuron

Brute Force

  • Linear Search
  • Rain Terraces
  • Recursive Staircase
  • Maximum Subarray
  • Travelling Salesman Problem
  • Discrete Fourier Transform

Greedy

  • Jump Game
  • Unbound Knapsack Problem
  • Dijkstra Algorithm
  • Prim’s Algorithm
  • Kruskal’s Algorithm

Divide and Conquer

  • Binary Search
  • Tower of Hanoi
  • Pascal's Triangle
  • Euclidean Algorithm
  • Merge Sort
  • Quicksort
  • Tree Depth-First Search
  • Graph Depth-First Search
  • Jump Game
  • Fast Powering
  • Permutations
  • Combinations

Dynamic Programming

  • Fibonacci Number
  • Jump Game
  • Unique Paths
  • Rain Terraces
  • Recursive Staircase
  • Levenshtein Distance
  • Longest Common Subsequence
  • Longest Common Substring
  • Longest Increasing Subsequence
  • Shortest Common Supersequence
  • 0/1 Knapsack Problem
  • Integer Partition
  • Maximum Subarray
  • Bellman-Ford Algorithm
  • Floyd-Warshall Algorithm
  • Regular Expression Matching

Backtracking

  • Jump Game
  • Unique Paths
  • Power Set
  • Hamiltonian Cycle
  • N-Queens Problem
  • Knight's Tour
  • Combination Sum

Uncategorized

  • Tower of Hanoi
  • Square Matrix Rotation
  • Jump Game
  • Unique Paths
  • Rain Terraces
  • Recursive Staircase
  • N-Queens Problem
  • Knight's Tour

haskell-algorithms's People

Contributors

okmttdhr 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.