Commit Graph

647 Commits

Author SHA1 Message Date
Phil-Schmidt
7108ef9045 Added I/O
Added basic command line I/O functionality
2017-11-27 03:03:58 +01:00
Phil-Schmidt
96d78e641e Fixed Key Expansion + Removed Tests
Key Expansion should now be able to return the correct keys.
Removed JUnit tests for the final release
2017-11-27 02:43:19 +01:00
The-TJ
27839d2f63
Update HexToOct.java 2017-11-26 20:36:39 +00:00
Piyush Yadav
61b653d553
Renamed file with .java extension 2017-11-22 23:35:55 +05:30
The-TJ
402c4e8738
Update HexToOct.java 2017-11-22 17:43:48 +00:00
The-TJ
61aaa5925f
Update HexToOct.java 2017-11-22 17:38:51 +00:00
Chetan Kaushik
6204a2d364
Merge pull request #318 from NISHITA97/Branch1
Added SaddlebackSearch
2017-11-21 23:07:23 +05:30
Phil-Schmidt
f93100c434 Merge branch 'master' of https://github.com/Phil-Schmidt/Java
# Conflicts:
#	ciphers/AES.java
2017-11-20 06:19:45 +01:00
Phil-Schmidt
2094205608 Tests and bugfix
Added Unittests for AES and AES subroutines.
Transposed the matrix representation of the block into the correct
position.
2017-11-20 06:15:27 +01:00
Varun Upadhyay
cda4b5c977
Merge pull request #321 from harshar11/master
changed t to T
2017-11-19 16:51:28 -08:00
Harsha
f79acbb088 changed t to T 2017-11-19 16:38:29 -08:00
Phil-Schmidt
b74a22ddd7 Added AES Algorithm
Added AES in the cipher directory.
Current features:
- Full encryption
- Full decryption

Remaining Issues:
- Implement commandline I/O for key, text and mode selection
- Fix bugs in key schedule (generated key set is not the correct)
- Write unittests
2017-11-19 14:28:06 +01:00
Phil-Schmidt
315e74d4c1 Merge remote-tracking branch 'refs/remotes/TheAlgorithms/master' 2017-11-19 14:26:36 +01:00
Varun Upadhyay
7e5b82ca1f
Merge pull request #319 from NISHITA97/Branch2
Updated Matrix.java
2017-11-18 18:00:45 -08:00
NISHITA97
86d545b11d Updated Matrix.java, added Matrix Multiplication 2017-11-19 05:25:43 +05:30
NISHITA97
9295e19ba9 Added SaddlebackSearch 2017-11-19 02:40:31 +05:30
Febaug
075b30f243
Update ConnectedComponent.java 2017-11-17 16:44:18 +01:00
Febaug
05a9bb1c9c
Add files via upload 2017-11-17 16:37:13 +01:00
The-TJ
37838f6237
Create HextoDec.java
Program that converts Hexadecimal numbers to decimal.
2017-11-17 12:32:45 +00:00
Varun Upadhyay
df6838ede3
Merge pull request #314 from NISHITA97/Branch1
Added Binary To Hexadecimal
2017-11-15 05:32:35 -08:00
NISHITA97
7926e9c3fb Added Binary To Hexadecimal 2017-11-15 13:05:07 +05:30
Chetan Kaushik
c07e959b52
Merge pull request #312 from MaengMaeng/master
Add MatrixGraphs
2017-11-13 23:50:56 +05:30
MaengMaeng
2fadcdce76 Add MatrixGraphs 2017-11-13 23:47:35 +09:00
sangjun2
b5f0c5d5c3 implement SkylineProblem 2017-11-13 23:41:07 +09:00
SeonJae
6c0c2f0c4a greedy algorithms 2017-11-13 15:16:15 +09:00
SeonJae
e33ea7ecde ClosestPair 2017-11-13 12:39:56 +09:00
Anup Kumar Panwar
191eaae5c5
Merge pull request #153 from gagndeepp/patch-2
Simple Heap Sorting Technique Using Java #96
2017-11-09 16:33:25 +05:30
Varun Upadhyay
88c04a132f
Merge pull request #302 from varunu28/master
Create CoinChange.java
2017-11-05 09:37:10 -08:00
Varun Upadhyay
eed6f33976 Removed the Misc directory and moved the files to other 2017-11-05 10:17:19 -08:00
Varun Upadhyay
7208bdd52e
Create CoinChange.java 2017-11-05 09:35:25 -08:00
Varun Upadhyay
c8038cd6f0
Merge pull request #283 from teerapat1739/patch-5
Increase recursive GCD
2017-11-02 16:16:29 -07:00
Piyush Yadav
18b36a94a1
AES Encryption/Decryption 2017-10-29 20:37:08 +05:30
Anup Kumar Panwar
d7fcdf4dc6
Merge pull request #284 from honeycoder96/patch-1
Create cyclesort.java
2017-10-29 14:40:01 +05:30
sahilb2
d098cf63dd added peekFront and peekBack functions 2017-10-28 16:08:06 -05:00
Varun Upadhyay
4d0d02d709
Merge pull request #288 from freitzzz/master
Fixed files and folders name conventions
2017-10-28 09:20:59 -07:00
DESKTOP-0VAEMFL\joaom
c850d793bb Fixed Merge changes 2017-10-28 13:05:43 +01:00
DESKTOP-0VAEMFL\joaom
20d0bb2c69 Merge branch 'master' of https://github.com/freitzzz/Java
# Conflicts:
#	Data Structures/HashMap/HashMap.java
#	Huffman.java
#	Misc/FloydTriangle.java
#	Misc/Huffman.java
#	Misc/InsertDeleteInArray.java
#	Misc/RootPrecision.java
#	Misc/ft.java
#	Misc/root_precision.java
#	Others/FloydTriangle.java
#	Others/Huffman.java
#	Others/insert_delete_in_array.java
#	Others/root_precision.java
#	insert_delete_in_array.java
2017-10-28 12:59:58 +01:00
DESKTOP-0VAEMFL\joaom
467b917416 Improved files and folders name conventions and moved lost files to Misc folder 2017-10-28 12:58:07 +01:00
João Freitas
7e3a8c55c8
Merge pull request #1 from TheAlgorithms/master
Merge
2017-10-28 12:47:55 +01:00
sandeeproy99
07015c1e64
CombSort.java
Comb Sort is mainly an improvement over Bubble Sort. Bubble sort always compares adjacent values. So all inversions are removed one by one. Comb Sort improves on Bubble Sort by using gap of size more than 1. The gap starts with a large value and shrinks by a factor of 1.3 in every iteration until it reaches the value 1. Thus Comb Sort removes more than one inversion counts with one swap and performs better than Bubble Sort.

The shrink factor has been empirically found to be 1.3 (by testing CombSort on over 200,000 random lists) [Source: Wiki]

Although, it works better than Bubble Sort on average, worst case remains O(n2).
2017-10-28 16:03:26 +05:30
Honey Sharma
6806fa6623
Create cyclesort.java 2017-10-28 11:47:45 +05:30
teerapat1739
205698d90f
Update GCD.java 2017-10-28 03:39:09 +07:00
teerapat1739
cc6af5f59e
create main function GCD
output 4
main
2017-10-28 02:43:04 +07:00
teerapat1739
3bd769d2ae
Increase recursive GCD 2017-10-28 01:19:55 +07:00
Varun Upadhyay
962720fc6b
Merge pull request #282 from sahilb2/master
Added "peek" function for QueueUsingTwoStacks
2017-10-27 10:56:24 -07:00
sahilb2
19b745215b added peek function for the queue 2017-10-27 12:40:50 -05:00
Varun Upadhyay
e43897289b
Merge pull request #278 from teerapat1739/patch-1
Coding standards
2017-10-27 10:10:32 -07:00
teerapat2539
894ec55d79 Coding standards
To comply with international standards.

https://www.hongkiat.com/blog/source-code-comment-styling-tips/
2017-10-27 21:52:00 +07:00
Kromzem
6267420572 added some more comments 2017-10-27 12:28:54 +02:00
Chetan Kaushik
9fd0548ff9 Merge pull request #156 from dpacmen/patch-7
Add Eggdroping puzzle
2017-10-27 15:00:34 +05:30