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
54a16b1a30
Merge pull request #145 from WilliamTomOBrien/stack-resize
...
Added Resize for Stacks
2017-10-27 14:53:52 +05:30
441de527dc
Merge pull request #140 from dheeraj92/master
...
Trie Data structure
2017-10-27 14:47:44 +05:30
ee5136c64d
Merge pull request #158 from karimElmougi/BogoSort
...
Bogo sort
2017-10-27 14:43:35 +05:30
60275e9b22
Merge pull request #276 from KennethNero/Comments&Fixes
...
Comments&fixes
2017-10-27 14:41:31 +05:30
0dae61e59e
Take 2 on removing this folder
...
.idea does not need to be here.
2017-10-26 20:11:57 -04:00
06d463f923
Delete java.iml
...
Not needed.
2017-10-26 20:07:59 -04:00
a30207ab36
Removing unneeded .idea files
...
As title. This cleans things up a lot.
2017-10-26 20:06:28 -04:00
2a1fc02648
Many quality of code changes
...
Removing unused imports, cleaning up (at a base level) code, and removing some package declarations. By no means did I get all of them.
2017-10-26 19:56:18 -04:00
a0fd638b2a
Merge pull request #240 from manimanasamylavarapu/add-alogos-patch2-kadane-algo
...
Added Armstrong number algorithm.
2017-10-25 09:08:12 -07:00
6dd5a9ccc5
missed removing the file in root folder
2017-10-25 19:39:45 +05:30
70fc31a540
removed package name
2017-10-25 19:35:42 +05:30
b0155e36a2
Delete CountingSortIntegers.java
...
Removing as a generic version of counting sort already exists in Sorts
[Counting Sort](https://github.com/TheAlgorithms/Java/blob/master/Sorts/CountingSort.java )
2017-10-25 06:33:01 -07:00
497f27f630
Delete CountSort.java
...
Removing as a generic version of counting sort already exists in Sorts
[Counting Sort](https://github.com/TheAlgorithms/Java/blob/master/Sorts/CountingSort.java )
2017-10-25 06:32:46 -07:00
a80f00eb62
Merge branch 'master' into ReadMeUpdate
2017-10-25 15:29:10 +02:00
26f446eb33
added "Perlin-Noise-Algorithm"
2017-10-25 15:22:16 +02:00
3b37d83521
added "Perlin-Noise-Algorithm"
2017-10-25 15:18:59 +02:00
135af7065a
Fixed the Filename.
...
Cheers!!
2017-10-25 18:35:23 +05:30
b69548e85b
Merge pull request #155 from achaJackson/master
...
Added and Implemented Counting sort with Java. #96 .
2017-10-25 17:00:58 +05:30
6531362403
Merge pull request #151 from ribhav-pahuja/master
...
Added Ternary Search.
2017-10-25 17:00:46 +05:30
a9603a7304
Merge pull request #261 from green-leaves/rsa-cipher
...
RSA encryption
2017-10-25 16:58:38 +05:30
3abf1f588e
Update PasswordGen.java
...
separated main and generatePassword function
2017-10-25 12:43:41 +05:30
87b1f77e56
Update and rename ft.java to FloydTriangle.java
2017-10-24 10:37:46 -07:00
851432fe87
RSA encryption
2017-10-24 20:39:11 +08:00
810fdd6102
Merge pull request #258 from MattBizzo/master
...
Adding cocktail shaker sort
@MattBizzo Thanks for the PR
2017-10-23 16:06:26 -07:00
952accaf48
Code changes by request
2017-10-23 21:01:02 -02:00
9d819349e2
Delete InsertionSortInteger.java
...
Solves #84
2017-10-23 15:33:28 -07:00
186c5d0253
Adding cocktail sort
2017-10-23 19:36:37 -02:00
979be41b21
Update AnytoAny.java
2017-10-23 11:48:18 +05:30
e1149eb4b9
Rename AnytoAny to AnytoAny.java
2017-10-23 11:46:44 +05:30
1c34220b3e
Name and convention changed to Java 8
2017-10-22 18:41:27 +05:30
531c7639a6
Create StackOfLinkedList.java
2017-10-21 16:44:11 -07:00
364e27b5a0
moved the class from others papckage to default.
...
and implemeted the following review comments.
Remove the package
Please provide a description for checkIfANumberIsAmstrongOrNot function
Provide a description for what actually is an
Armstrong number at the top along with an example
fixes #96
2017-10-21 23:22:07 +05:30