Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHEXtoBIN #499
Open
HEXtoBIN #499
Conversation
Added RC4 stream cipher algorithm
Add Splay Tree in DS
7.c :reverse of a number with overflow check added
The correct format specifier for `size_t` is `%zu`. If C89 support is needed, `%lu` along with a cast to `unsigned long` will suffice. Also added error checking for calloc.
Cleaned up the code and used meaningful variable names
Fixed a critical flaw where `strcpy` would write the final NUL-terminator in an invalid location invoking Undefined Behavior. Allocated one extra byte to fix it. Cleaned up the code as well in the process
Improved code Asthetics
Cleaned up, meaningful variable names
Update BubbleSort.c
+1 byte for the NUL-terminator
Format specifier for size_t, calloc check
Leetcode solutions
updated shellSort.c
updated README.md
Patch 2
Patch 3
Patch 4
Fixed strSize to strlen
Seperated out checkPalindrome section
Add more solution for leetcode
also use strtok to remove trailing "\n"
Anagrams
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.
dvk65 commentedNov 9, 2019
No description provided.