Commit Graph

1273 Commits

Author SHA1 Message Date
northernSage
6c6879fe52 remove unused headers and add comments 2021-02-18 00:44:48 -03:00
Gabriel Fioravante
679b30b725
use 0 instead of EXIT_SUCCESS
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-17 22:39:20 -05:00
Gabriel Fioravante
cf95c1e27a
Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-17 22:29:37 -05:00
northernSage
de09c966b3 add header comment 2021-02-17 07:17:31 -03:00
northernSage
366724b585 update old main function 2021-02-17 07:15:47 -03:00
northernSage
9ba58f4571 add separate test function 2021-02-17 07:14:34 -03:00
northernSage
3b647a617a move bubblesort implementation to separate function 2021-02-17 07:13:29 -03:00
northernSage
6b0f57d372 use stdbool.h instead of manually defined macros 2021-02-17 07:11:11 -03:00
northernSage
e2add348d9 apply snake case 2021-02-17 07:08:51 -03:00
Ayaan Khan
e81bc16832
Merge pull request #611 from harshcut/infix_to_postfix
feat: add infix_to_postfix.c
2021-02-11 10:42:57 +05:30
Harsh Karande
34eea0aa0f
review: make get getPrecedence
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-11 10:29:16 +05:30
Ayaan Khan
1fb7bf023d
Merge pull request #677 from rachitbhalla/master
Implemented octal to hexadecimal conversion
2021-02-11 10:27:06 +05:30
Ayaan Khan
e713be82c2
Merge pull request #744 from Suraj-Patro/patch-9
fix: Improved code formatting in conversions/octal_to_binary.c
2021-02-11 10:23:40 +05:30
Ayaan Khan
2af0c48da8
Merge pull request #731 from nicola-masarone/patch-1
Update binary_to_hexadecimal.c
2021-02-11 10:17:01 +05:30
Ayaan Khan
5eee22a750
Merge pull request #768 from Suraj-Patro/patch-28
fix: Improved source code formatting at data_structures/linked_list/stack_using_linked_lists.c
2021-02-11 10:15:51 +05:30
Chathura Nimesh
c4e80b8b0a
fix: several bugs on games/tic_tac_toe.c (#771)
* fixed several bugs on tic_tac_toe

* final changes bug fixed

* added requested changes

* fixed changes

* fixed stuff

* fix clang-tidy warnings

* removed unnecessary headers

* resolved some warnings

* fixed warning c4244

* Tiggering CI checks
2021-02-10 19:32:01 +05:30
Krishna Vedala
604ec7d2b3
remove windows builds (#796) 2021-02-06 01:20:20 +05:30
Ravi Shankar Reddy B
14d29d559a
fixed: 761, 762. Fixed mis-spelled header file CArray.h to carray.h (#783)
Co-authored-by: Ravi Shankar Reddy Bommana <ravishankarreddy.bommana@citrix.com>
2021-01-24 23:04:33 -06:00
David Leal
b2b9191273
fix: Update the copyright year to 2021 (#780) 2021-01-07 22:36:22 -06:00
谭九鼎
88fc8bb03d
fix: md style (#779) 2021-01-01 20:12:34 -06:00
webdesignbydivyansh
b2def5ca0e
feat: created prime_seive.c (#708)
* created prime_seive.c

This function counts the number of prime numbers in O(nlogn) time.

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>

* updating DIRECTORY.md

* updated prime_seive.c

* Update misc/prime_seive.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* added more changes

please take a look at it

* changed 1000000 to MAX_SIZE

* updated line 10

* changed the code back to original

* eliminated the problem of MAX_SIZE

* added for loop to initialise all elements to 0

* made the changes

* changed the code back to original

i have changed my code back to original as some tests were failing

* removed extra spaces & edited some lines

* added new global variable

* added extra space

* added parameter & return statement

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-11-26 06:34:21 -05:00
meenal2000
aef9d8d53f
fix: file names modified for better readability (#770)
* file names modified

* files name modified

* file names modified

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-11-03 18:46:26 -06:00
Suraj Patro
752cde71ef
Update stack_using_linked_lists.c 2020-10-31 00:13:40 +05:30
Suraj Patro
f23987e8ce
Update octal_to_binary.c 2020-10-30 22:09:02 +05:30
Nicola Masarone
8282804d68
Update binary_to_hexadecimal.c
Last printf() upper/lower case fix: from "THe" to "The" and from "Equivalent" to "equivalent"
2020-10-29 22:25:36 +01:00
Nicola Masarone
b282b95d5b
fix: Update conversions/binary_to_decimal.c (#730)
First printf(): newline character changed from /n to \n
2020-10-29 15:06:30 -06:00
github-actions
fc3bc8bb75 updating DIRECTORY.md 2020-10-21 11:42:11 +00:00
Harsh Karande
99076a25e6
Merge branch 'master' into infix_to_postfix 2020-10-21 17:11:03 +05:30
Harsh Karande
b2522d2413 docs: update comments 2020-10-21 14:39:08 +05:30
Harsh Karande
5c03b36a12
fix: suggestions from review
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-21 10:17:00 +05:30
Chayoung You
b8da721481
feat: Add another hexadecimal to octal conversion (#658)
* Add another hexadecimal to octal conversion

* Apply suggestions

Also changed the return type of `hex_to_oct` to `const char *`, as it
returns an address of static variable.

* Update comment of hexadecimal_to_octal2.c

* updating DIRECTORY.md

* Apply suggestions

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-20 21:00:03 -05:00
Gabriel Mota Bromonschenkel Lima
778f317e82
Rename redblacktree.c to red_black_tree.c (#684)
* Rename redblacktree.c to red_black_tree.c

* updating DIRECTORY.md

* add renaming avl.c and ascendingpriorityqueue.c

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-20 12:51:47 -04:00
Gabriel Mota Bromonschenkel Lima
74e81de85a
Doubly linked list, simple code. (#673)
* Doubly linked list, simple code.

#633

* organizing code a bit more

* add link in DIRECTORY.md and more comments/cleaning.

* remove global variables and redundancy.

* add Wikipedia reference

* add documentation comments in all functions/headers

* add update in file brief

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* remove part of file @details

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-20 12:50:48 -04:00
Rachit Bhalla
f2c9fe3ee5 updated with the suggested changes 2020-10-20 10:49:16 +05:30
Harsh Karande
02845fabcc
feat: reviewer commit
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 09:56:59 +05:30
github-actions
d6abe9fbbf updating DIRECTORY.md 2020-10-19 22:31:51 +00:00
Lza-etc
adcbc39e3c
Rename CircularLinkedList.C to circular_linked_list.c (#679) 2020-10-19 18:31:01 -04:00
Harsh Karande
c3142724fb fix: recognize bracket operator 2020-10-19 10:29:02 +05:30
Harsh Karande
4f37a67cbd feat: add source for algorithm explanation 2020-10-19 10:21:55 +05:30
Krishna Vedala
a24d17f57e
feat: guidelines for reviewers (#671) 2020-10-18 22:02:04 -05:00
Rachit Bhalla
4d20fe4465 Merge branch 'master' of https://github.com/rachitbhalla/C 2020-10-19 01:10:28 +05:30
Rachit Bhalla
e2444cee18 updated with the suggested changes 2020-10-19 01:09:29 +05:30
github-actions
e1b775000a updating DIRECTORY.md 2020-10-18 19:25:13 +00:00
Rachit Bhalla
19fb5ba4dd updated with the suggested changes 2020-10-19 00:53:48 +05:30
Rachit Bhalla
5e11041d41 added test cases and updated the documentation Fixes: #633 2020-10-18 23:48:36 +05:30
Rachit Bhalla
6b1c8e65be included stdio.h Fixes: #633 2020-10-18 18:11:49 +05:30
Rachit Bhalla
881e1e9a88 Implemented octal to hexadecimal conversion Fixes: #633 2020-10-18 18:00:23 +05:30
github-actions
d0d67ff789 updating DIRECTORY.md 2020-10-16 13:02:49 +00:00
vinayak
bad50992fd
insertion_sort_recursive (#647)
* insertion_sort_recursive

* feat: add insertion sort recursive algorithm

* Update sorting/insertion_sort_recursive.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update sorting/insertion_sort_recursive.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update insertion_sort_recursive.c

* Update sorting/insertion_sort_recursive.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update sorting/insertion_sort_recursive.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Update sorting/insertion_sort_recursive.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-16 09:01:45 -04:00
Vishnu P
a050a48bfd
Added octal to binary conversion (#629)
* Added octal to binary conversion

* Update conversions/octal_to_binary.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update conversions/octal_to_binary.c

Co-authored-by: David Leal <halfpacho@gmail.com>

* Changes updated

* To trigger action

* updating DIRECTORY.md

* LGTM alert  fixed.

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-02 08:16:27 -04:00