An open API service indexing awesome lists of open source software.

https://github.com/bkraad47/simple_allotment


https://github.com/bkraad47/simple_allotment

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Simple Allotment pwc test 2 Badruddin Kamal

Based on simple bin packing algorithms, basic maths & Euclids greatest common divisor algorithm.

Euclids greatest common divisor https://en.wikipedia.org/wiki/Euclidean_algorithm
bin packing http://www.geeksforgeeks.org/bin-packing-problem-minimize-number-of-used-bins/
java scanner http://stackoverflow.com/questions/23194290/how-to-capture-enter-key-using-scanner-as-console-input
Some lambda expressions mapping string array to int array http://stackoverflow.com/questions/6881458/converting-a-string-array-into-an-int-array-in-java

Required Java Version 1.8.0

To run
1. Goto directory bash
2. Compileusing 'javac Simple_Allotment.java'
3. Run using 'java Simple_Allotment'