Add Compression Algorithm#136
Merged
christianbender merged 6 commits intoTheAlgorithms:masterfrom Mar 31, 2018
Merged
Conversation
Input : Source base , Source number , Destination base Output : Destination Number
Member
|
Hi @shikhart98 AnytoAny file does not end with a .java extension. Also there are no code comments. Can you please update this? Thanks ;) |
Contributor
Author
|
Sure!
also see my compression algo please !
…On Oct 18, 2017 10:48 PM, "Chetan Kaushik" ***@***.***> wrote:
Hi @shikhart98 <https://github.com/shikhart98> AnytoAny file does not end
with a .java extension. Also there are no code comments. Can you please
update this? Thanks ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#136 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ab8ucTYLfYDVVvnEDodLgInGWfLjBzllks5stjL2gaJpZM4PsWvy>
.
|
Member
|
Hi. The Algorithm is good. Please add some comments and please remove the bin directory. |
Contributor
Author
|
Hey I have added the comment to this code! kindly review and merge :) |
Contributor
Author
|
Can anyone please review my code! its commented now! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#96
In this compression algorithm I have used Generic Heap. You will see there are 3 files (.java), in which first is Generic Heap, second is the compressClient (used to take input and display output) , third is the HEncoder , which have functions like compress and decompress ( these functions are called from the compressionClient ). Following are some screenshots of the running algorithm.
Input

Compressed Output

Checking the compressed output into Decompress function(we should get our previous input)
