543 Commits

Author SHA1 Message Date
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
27839d2f63 Update HexToOct.java 2017-11-26 20:36:39 +00:00
61b653d553 Renamed file with .java extension 2017-11-22 23:35:55 +05:30
402c4e8738 Update HexToOct.java 2017-11-22 17:43:48 +00:00
61aaa5925f Update HexToOct.java 2017-11-22 17:38:51 +00:00
6204a2d364 Merge pull request #318 from NISHITA97/Branch1
Added SaddlebackSearch
2017-11-21 23:07:23 +05:30
f93100c434 Merge branch 'master' of https://github.com/Phil-Schmidt/Java
# Conflicts:
#	ciphers/AES.java
2017-11-20 06:19:45 +01:00
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
cda4b5c977 Merge pull request #321 from harshar11/master
changed t to T
2017-11-19 16:51:28 -08:00
f79acbb088 changed t to T 2017-11-19 16:38:29 -08:00
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
315e74d4c1 Merge remote-tracking branch 'refs/remotes/TheAlgorithms/master' 2017-11-19 14:26:36 +01:00
7e5b82ca1f Merge pull request #319 from NISHITA97/Branch2
Updated Matrix.java
2017-11-18 18:00:45 -08:00
86d545b11d Updated Matrix.java, added Matrix Multiplication 2017-11-19 05:25:43 +05:30
9295e19ba9 Added SaddlebackSearch 2017-11-19 02:40:31 +05:30
075b30f243 Update ConnectedComponent.java 2017-11-17 16:44:18 +01:00
05a9bb1c9c Add files via upload 2017-11-17 16:37:13 +01:00
37838f6237 Create HextoDec.java
Program that converts Hexadecimal numbers to decimal.
2017-11-17 12:32:45 +00:00
df6838ede3 Merge pull request #314 from NISHITA97/Branch1
Added Binary To Hexadecimal
2017-11-15 05:32:35 -08:00
7926e9c3fb Added Binary To Hexadecimal 2017-11-15 13:05:07 +05:30
c07e959b52 Merge pull request #312 from MaengMaeng/master
Add MatrixGraphs
2017-11-13 23:50:56 +05:30
2fadcdce76 Add MatrixGraphs 2017-11-13 23:47:35 +09:00
191eaae5c5 Merge pull request #153 from gagndeepp/patch-2
Simple Heap Sorting Technique Using Java #96
2017-11-09 16:33:25 +05:30
88c04a132f Merge pull request #302 from varunu28/master
Create CoinChange.java
2017-11-05 09:37:10 -08:00
eed6f33976 Removed the Misc directory and moved the files to other 2017-11-05 10:17:19 -08:00
7208bdd52e Create CoinChange.java 2017-11-05 09:35:25 -08:00
c8038cd6f0 Merge pull request #283 from teerapat1739/patch-5
Increase recursive GCD
2017-11-02 16:16:29 -07:00
18b36a94a1 AES Encryption/Decryption 2017-10-29 20:37:08 +05:30
d7fcdf4dc6 Merge pull request #284 from honeycoder96/patch-1
Create cyclesort.java
2017-10-29 14:40:01 +05:30
d098cf63dd added peekFront and peekBack functions 2017-10-28 16:08:06 -05:00
4d0d02d709 Merge pull request #288 from freitzzz/master
Fixed files and folders name conventions
2017-10-28 09:20:59 -07:00
c850d793bb Fixed Merge changes 2017-10-28 13:05:43 +01:00
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
467b917416 Improved files and folders name conventions and moved lost files to Misc folder 2017-10-28 12:58:07 +01:00
7e3a8c55c8 Merge pull request #1 from TheAlgorithms/master
Merge
2017-10-28 12:47:55 +01:00
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
6806fa6623 Create cyclesort.java 2017-10-28 11:47:45 +05:30
205698d90f Update GCD.java 2017-10-28 03:39:09 +07:00
cc6af5f59e create main function GCD
output 4
main
2017-10-28 02:43:04 +07:00
3bd769d2ae Increase recursive GCD 2017-10-28 01:19:55 +07:00
962720fc6b Merge pull request #282 from sahilb2/master
Added "peek" function for QueueUsingTwoStacks
2017-10-27 10:56:24 -07:00
19b745215b added peek function for the queue 2017-10-27 12:40:50 -05:00
e43897289b Merge pull request #278 from teerapat1739/patch-1
Coding standards
2017-10-27 10:10:32 -07:00
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
6267420572 added some more comments 2017-10-27 12:28:54 +02:00
9fd0548ff9 Merge pull request #156 from dpacmen/patch-7
Add Eggdroping puzzle
2017-10-27 15:00:34 +05:30
6e3ed6cdd8 Merge pull request #165 from KyleScharnhorst/add-generic-queue
Add: generic queue implementation.
2017-10-27 14:56:43 +05:30
7555d9e12f Merge pull request #166 from KyleScharnhorst/add-circular-buffer
Add: circular buffer implementation.
2017-10-27 14:56:27 +05:30
1a9aa87d68 Merge pull request #147 from dhinske/master
added Bag-datastructure
2017-10-27 14:54:41 +05:30
028f0d6084 Merge pull request #149 from tifa64/ReadMeUpdate
Updated README with the Shell sort
2017-10-27 14:54:24 +05:30