Commit Graph

620 Commits

Author SHA1 Message Date
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
Chetan Kaushik
6e3ed6cdd8 Merge pull request #165 from KyleScharnhorst/add-generic-queue
Add: generic queue implementation.
2017-10-27 14:56:43 +05:30
Chetan Kaushik
7555d9e12f Merge pull request #166 from KyleScharnhorst/add-circular-buffer
Add: circular buffer implementation.
2017-10-27 14:56:27 +05:30
Chetan Kaushik
1a9aa87d68 Merge pull request #147 from dhinske/master
added Bag-datastructure
2017-10-27 14:54:41 +05:30
Chetan Kaushik
028f0d6084 Merge pull request #149 from tifa64/ReadMeUpdate
Updated README with the Shell sort
2017-10-27 14:54:24 +05:30
Chetan Kaushik
54a16b1a30 Merge pull request #145 from WilliamTomOBrien/stack-resize
Added Resize for Stacks
2017-10-27 14:53:52 +05:30
Chetan Kaushik
441de527dc Merge pull request #140 from dheeraj92/master
Trie Data structure
2017-10-27 14:47:44 +05:30
Chetan Kaushik
ee5136c64d Merge pull request #158 from karimElmougi/BogoSort
Bogo sort
2017-10-27 14:43:35 +05:30
Chetan Kaushik
60275e9b22 Merge pull request #276 from KennethNero/Comments&Fixes
Comments&fixes
2017-10-27 14:41:31 +05:30
Kenneth Nero
0dae61e59e Take 2 on removing this folder
.idea does not need to be here.
2017-10-26 20:11:57 -04:00
Kenneth Nero
06d463f923 Delete java.iml
Not needed.
2017-10-26 20:07:59 -04:00
Kenneth Nero
a30207ab36 Removing unneeded .idea files
As title. This cleans things up a lot.
2017-10-26 20:06:28 -04:00
Kenneth Nero
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
Varun Upadhyay
a0fd638b2a Merge pull request #240 from manimanasamylavarapu/add-alogos-patch2-kadane-algo
Added Armstrong number algorithm.
2017-10-25 09:08:12 -07:00
Mani Manasa Mylavarapu
6dd5a9ccc5 missed removing the file in root folder 2017-10-25 19:39:45 +05:30
Mani Manasa Mylavarapu
70fc31a540 removed package name 2017-10-25 19:35:42 +05:30
Varun Upadhyay
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
Varun Upadhyay
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
Mostafa Ali Mansour
a80f00eb62 Merge branch 'master' into ReadMeUpdate 2017-10-25 15:29:10 +02:00
kromzem
26f446eb33 added "Perlin-Noise-Algorithm" 2017-10-25 15:22:16 +02:00
kromzem
3b37d83521 added "Perlin-Noise-Algorithm" 2017-10-25 15:18:59 +02:00
Gagan
135af7065a Fixed the Filename.
Cheers!!
2017-10-25 18:35:23 +05:30
Chetan Kaushik
b69548e85b Merge pull request #155 from achaJackson/master
Added and Implemented Counting sort with Java. #96.
2017-10-25 17:00:58 +05:30
Chetan Kaushik
6531362403 Merge pull request #151 from ribhav-pahuja/master
Added Ternary Search.
2017-10-25 17:00:46 +05:30
Chetan Kaushik
a9603a7304 Merge pull request #261 from green-leaves/rsa-cipher
RSA encryption
2017-10-25 16:58:38 +05:30
Akshay Sharma
3abf1f588e Update PasswordGen.java
separated main and generatePassword function
2017-10-25 12:43:41 +05:30
Varun Upadhyay
87b1f77e56 Update and rename ft.java to FloydTriangle.java 2017-10-24 10:37:46 -07:00
Nguyen Duy Tiep
851432fe87 RSA encryption 2017-10-24 20:39:11 +08:00