Nikhill Vombatkere
690d49099d
TCP Full Duplex Server Client Communication ( #856 )
...
* TCP Full Duplex Server Client Communication
* Changes made to successfully complete 5th Check
* Update client_server/tcp_full_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* Update tcp_full_duplex_client.c
* Update client_server/tcp_full_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-22 11:47:40 -05:00
Edwin B. Ajong
16d115d9fb
feat: Odd Even Sorting Algorithm ( #855 )
...
* Odd Even Sorting Algorithm
* added Odd Even Sort algorithm
* Odd Even sort algorithm
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* Update odd_even_sort.c
* update Odd Even sort
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/odd_even_sort.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/odd_even_sort.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update odd_even_sort.c
* Apply suggestions from code review
* Update sorting/odd_even_sort.c
Co-authored-by: ERR ! <75872316+amino19@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: ERR ! <75872316+amino19@users.noreply.github.com>
2021-09-10 16:12:05 -05:00
Nikhill Vombatkere
0bcf7371ca
feat: TCP Client Server Half Duplex Communication ( #853 )
...
* TCP Client Server Half Duplex Comm
* reverting .vscode/settings.json in reference to request
* Set gitignore back to original state
* Update .vscode/settings.json
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Making all the requested changes
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Made Requested Changes - Added Documentation & Comments
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* Changes Made & Updated as Requested
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Updated Documentation Format - Comments made in correct format
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Comment formatting updated
* Update client_server/tcp_half_duplex_client.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update client_server/tcp_half_duplex_server.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Updated Data Type - uint32_t for socket descriptors
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-07 21:24:20 +05:30
Piyush Kumar
cc241f58c2
feat: Add endlines in `machine_learning/adaline_learning.c` ( #846 )
...
Add endlines in `machine_learning/adaline_learning.c`.
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-08-18 15:35:00 -05:00
Randy Kwalar
1b30b89083
feat: Added a program that prints words in alphabetical order using binary tree data structure ( #841 )
...
* frequencies of words started
* A program to Print words contained in a file in alphabetical order
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* appropriate comments added as suggested from code review
* comments cleaned up
* updating DIRECTORY.md
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* commenting re-worded
* Add link to algorithm
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* main function moved to the bottom and function prototypes deleted
* uint64_t data type used for non negative values
* uint8_t used
* all int types fixed
* detailed explanation of algorithm added
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* tests and documentation added
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation added
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/binary_trees/words_alphabetical.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation added
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* Add documentation
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-07-30 16:17:09 +05:30
Swastika Gupta
580bd405ea
feat: Add floyd cycle-detection-algorithm to find duplicate number ( #844 )
...
* floyd algorithm application
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* minor correction
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update floyd_cycle_detection_algorithm.c
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update searching/floyd_cycle_detection_algorithm.c
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-29 12:40:05 -05:00
David Leal
b4f2f87a78
feat: Convert all issue templates into issue... ( #845 )
...
...forms. Also disables blank issues and adds an `Other` template for generic issues without blank issues.
2021-07-24 21:44:27 +05:30
Hriday Sharma
2b6661aaf5
docs: Changes in README ( #842 )
...
* Update README.md
* Update README.md
2021-07-19 21:52:47 -05:00
lasgel
31ced8233e
tests: added `get_angle` test function in geometry/vector3d ( #838 )
...
* feat: add get_angle algorithm
* docs: added documentation for get_angle algorithm
* test: add test for get_angle algorithm
* fix: Fixed indentation
* Test: Changed //printf to // printf
* fix: Changed variable description for norm_a and norm_b
* fix: changed // to /// in the comment as suggested
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-09 13:52:29 -05:00
David Leal
08157c4129
[feat/fix]: Improve the contributing guidelines ( #839 )
...
Mostly all of the changes are taken from https://github.com/TheAlgorithms/C-Plus-Plus/pull/1503 .
2021-07-07 14:41:56 -05:00
David Leal
373f9c4a66
feat: Add the `Approved Label` workflow ( #830 )
...
When a pull request is approved, it'll automatically add the `approved` label.
2021-05-18 13:03:38 -05:00
David Leal
fb778074c7
fix: Revert "fix: LGTM warnings/alerts" commit
2021-04-25 19:44:15 -05:00
David Leal
b6cc0c5601
fix: LGTM warnings/alerts
...
Thanks to @siriak for giving the solution at Discord!
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-04-25 19:36:23 -05:00
David Leal
221346808a
feat: Add Discord chat badge in `README.md`
2021-04-16 13:09:06 -05:00
Jaskarn Singh
a7d613c95d
feat: printf statement written in c (as minprintf) without using stdio.h li… ( #820 )
...
* printf statement written in c (as minprintf) without using stdio.h library.
* Added proper documentation in minprintf.h
* Modified and more Documented code.
* Requested changes commited
* Referance links added
* updating DIRECTORY.md
* Renamed the file
* updating DIRECTORY.md
* Test file added
* updating DIRECTORY.md
* Requested changes commited
* Requested changes commited
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-04-03 12:03:22 +05:30
Tim Maloney
c6a3279b9b
feat: Prims algorithm ( #815 )
...
* Added prim.c
* Updated formatting in prim.c
* Docs: updated prim.c documentation
* feat: Included testing in prim.c
* feat: eliminated globals & changed variable types
* Docs: added documentation for minimum function
* updating DIRECTORY.md
* Updated documentation
* Docs: Changed function docs & made test function static
* Docs: made further requested changes
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-03-31 14:06:12 +05:30
Alessio Farinelli
4b65a6b6b1
feat: Exponential Search ( #818 )
...
* feat(ExponentialSearch): added C implementation of Exponential Search
* fix: typo
* refactor(ExponentialSearch): removed unused imports
* fix(Exponential Search): review fixes
* updating DIRECTORY.md
* refactor(ExponentialSearch): refactoring types
* fix(ExponentialSearch): fixes and added brief
* refactor(ExponentialSearch): added briefs
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-03-25 23:58:07 +05:30
Mainak Debnath
4ac1c65007
fix: Added `limits.h` in `data_structures/heap/max_heap.c` ( #812 )
...
* fix: added limits.h header
* fix: added limits.h header in max_heap.c
* update: adding better documentation
* update: added documentation for header files
* update: changed comment for header files
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-03-16 12:07:52 -06:00
David Leal
d5e979ae2b
feat: Add CodeQL Analysis badge in README.md
2021-03-15 14:51:44 -06:00
David Leal
eaaa4e28d3
feat: Add CodeQL Analysis workflow ( #813 )
...
Replaces LGTM, as LGTM only runs on commits, and CodeQL works faster, too.
2021-03-15 14:49:46 +05:30
DhruvPasricha
e0c6f6e403
feat: created heap_sort_2.c ( #809 )
...
* feat: created heap_sort_2.c
* Update sorting/heap_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/heap_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/heap_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/heap_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/heap_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/heap_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* added deatiled description of the algorithm
* Update sorting/heap_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/heap_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-03-12 10:53:06 +05:30
Ayaan Khan
1a92f523fa
Merge pull request #806 from DhruvPasricha/master
...
feat: added selection_sort_recursive.c
2021-03-02 11:00:18 +05:30
DhruvPasricha
c2268d2e8f
Update sorting/selection_sort_recursive.c
...
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-03-02 01:08:40 +05:30
DhruvPasricha
684b4bc002
Update selection_sort_recursive.c
2021-03-01 22:06:40 +05:30
DhruvPasricha
979b1e3ba7
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-03-01 10:16:43 +05:30
David Leal
3681b53128
fix: Apply suggestions from code review
2021-02-28 15:41:58 -06:00
David Leal
d4e844e993
fix: Apply suggestions from code review
2021-02-28 15:41:39 -06:00
DhruvPasricha
3ceeecfab9
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-28 23:55:33 +05:30
Ayaan Khan
121c7132a0
Merge pull request #807 from BillKek/master
...
fix: assertion failed on negative numbers in `conversions/c_atoi_str_to_integer.c`
2021-02-28 23:04:02 +05:30
BillKek
6f50dd4aab
fixed precision commit. was assert-fail on negative numbers.
2021-02-28 01:07:53 +03:00
DhruvPasricha
9a1d26e22a
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-27 13:10:20 +05:30
DhruvPasricha
013b586021
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-26 11:17:06 +05:30
DhruvPasricha
8947878624
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-26 10:59:55 +05:30
DhruvPasricha
a4b83a4151
used uint8_t instead of int
2021-02-25 17:48:28 +05:30
DhruvPasricha
c315db948a
added a one-line comment to tell what the library/header is for
2021-02-25 17:31:15 +05:30
David Leal
ad8ab32572
Update sorting/selection_sort_recursive.c
2021-02-24 13:17:18 -06:00
David Leal
1e44e27a99
Update sorting/selection_sort_recursive.c
2021-02-24 13:16:56 -06:00
David Leal
50cb5835a1
Update sorting/selection_sort_recursive.c
2021-02-24 13:16:47 -06:00
DhruvPasricha
60a07e6346
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-25 00:45:17 +05:30
github-actions
14553af668
updating DIRECTORY.md
2021-02-24 19:07:53 +00:00
DhruvPasricha
72e2c43f91
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-25 00:37:02 +05:30
DhruvPasricha
a0d02ed307
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-25 00:36:51 +05:30
DhruvPasricha
30b43869d4
Update sorting/selection_sort_recursive.c
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-25 00:36:39 +05:30
DhruvPasricha
d957dacec5
Update selection_sort_recursive.c
2021-02-25 00:12:15 +05:30
DhruvPasricha
1c777cbe99
Update sorting/selection_sort_recursive.c
...
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-25 00:02:34 +05:30
DhruvPasricha
7b23edbfd6
Update sorting/selection_sort_recursive.c
...
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-25 00:00:52 +05:30
DhruvPasricha
08cf618094
Update sorting/selection_sort_recursive.c
...
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-25 00:00:41 +05:30
DhruvPasricha
6c874bd7cd
Update sorting/selection_sort_recursive.c
...
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-24 23:58:06 +05:30
DhruvPasricha
f8c9ea04f9
Update sorting/selection_sort_recursive.c
...
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-24 23:57:23 +05:30
DhruvPasricha
63aded1ecc
Update sorting/selection_sort_recursive.c
...
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-24 23:56:53 +05:30