Coder Social home page Coder Social logo

roxort's Introduction

Build Status codecov

roXort

This was planned to contain sorting algorithms, firstly to refresh my memory of such things and secondly to try develop in a purer TDD fashion.

It has since started to expand into searching and encrypting algorithms as well

Current Sort Algorithms

Algorithm Best Performance Avg Worst
Quick Sort n log n (var n) n log n n2
Bubble Sort n log n n log n n log n
Heap Sort n log n n log n n log n

Current Search Algorithms

Algorithm Best Performance Avg Worst
Lineary Search 1 n n
Binary Search 1 log n log n

Current Encryption Algorithms

Next up

  • Merge Sort
  • Transpositional Ciphers and their variants [Rail Fence cipher | Route cipher | Columnar transposition | Double transposition | Myszkowski transposition]
  • Others and Others Still
  • Hashing & Digital searches

Pitest

A mutation testing suite for Java.

TODO: This causes a little problem with simple sorting as Pitest will detect errors in the logic of non-stable sorting algorithms. In that if any item is compared with another of equal value both a<b and a<=b are valid and this is one of Pitests mutations. I'll need to add tests to validate the stability of algorithms using objects other than integers (for more complex equality) in order to kill this mutation.

roxort's People

Contributors

rossdrew avatar

Watchers

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