https://github.com/bkraad47/simple_allotment
https://github.com/bkraad47/simple_allotment
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bkraad47/simple_allotment
- Owner: bkraad47
- Created: 2016-10-06T10:28:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-06T13:55:22.000Z (over 8 years ago)
- Last Synced: 2025-02-15T22:42:50.386Z (4 months ago)
- Language: Java
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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'