Commit Graph

1373 Commits

Author SHA1 Message Date
straight-into-the-wall
37534f4d8c
feat: leetcode zigzag solution (#897)
* perf: faster implementation of the TwoSum problem

* doc: fixed typos on comments

* updating DIRECTORY.md

* feat: leetcode ZigZag conversion solution

* doc: leetcode README added ZigZag conversion solution

* fix: clang-tidy linter corrections

* doc: fixed typo on leetcode README

* Update leetcode/src/6.c

@file does not want parameters

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

* Update leetcode/src/6.c

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

* fix: unsigned int and include comments

* fix: comments on includes. Doxygen file. static test function

* fix: add missing headers

* Delete 1.c

* Revert "Merge branch 'master' into leetcode/zigzag"

This reverts commit b46a6afd52.

* fix: revert 1.c

* updating DIRECTORY.md

* Empty commit to test the CI

* Update leetcode/src/6.c

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

* Update leetcode/src/6.c

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

* fix: missing main

* updating DIRECTORY.md

* doc: added missing comment

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-12-09 11:51:02 -06:00
David Leal
1370c44aee
fix: Discord logo's color 2021-12-06 14:52:24 -06:00
Navid Salehi
934f55f179
fix: merge sort bug (#921)
Merge sort does not work properly. To reproduce the bug input 6, 5, 4, 3, 2, 1 the output would be 2, 3, 1, 4, 5, 6.

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-12-02 12:55:40 -06:00
Navid Salehi
c8eec2fb57
docs: remove redundant space before comma (#920)
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-12-01 11:43:09 -06:00
David Leal
be9daa2b60
Update .gitpod.yml 2021-11-21 14:16:01 -06:00
David Leal
2fba8889a0
feat: Add contact links in the issue template configuration 2021-11-11 17:54:41 -06:00
straight-into-the-wall
5cca0ebd48
fix: Hotfix/awesome zero files (#919)
* perf: faster implementation of the TwoSum problem

* doc: fixed typos on comments

* updating DIRECTORY.md

* fix: comments on includes. Doxygen file. static test function

* fix: revert 1.c

* updating DIRECTORY.md

* fix: 0 files are not in one and only one directory

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-11-09 17:16:14 -06:00
David Leal
7a324e2c75
fix: Update Gitpod extensions (#917) 2021-11-05 18:42:10 -06:00
谭九鼎
624f9a3336
gitpod: don't lock extensions' version (#915)
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-11-05 12:07:11 -06:00
David Leal
eec47fe3d4
fix: Update the CoC to match the .github repository (#913) 2021-10-31 21:26:18 -06:00
David Leal
235f0a9eeb
Revert "fix: #898 another fix for Awesome workflow nodir_files problem (#901)" (#907)
This reverts commit b8e3c3833b.
2021-10-31 10:56:01 -06:00
straight-into-the-wall
b8e3c3833b
fix: #898 another fix for Awesome workflow nodir_files problem (#901)
* perf: faster implementation of the TwoSum problem

* doc: fixed typos on comments

* updating DIRECTORY.md

* fix: comments on includes. Doxygen file. static test function

* fix: #898 revert the nodir_files check version prior 2c86fbb

* fix: revert 1.c changes

* Apply suggestions from code review

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-26 13:20:55 +05:30
straight-into-the-wall
779e2f073e
fix: #898 Awesome workflow (1 files are not in one and only one directory) (#900)
* perf: faster implementation of the TwoSum problem

* doc: fixed typos on comments

* updating DIRECTORY.md

* fix: comments on includes. Doxygen file. static test function

* fix: #898 awesome-workflow: 1 files are not in one and only one directory

* fix: revert 1.c changes

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-10-25 14:27:09 -05:00
Kumar Yash
88a82991f2
feat: add postfix evaluation algorithm (#890)
* add infix to postfix converter algorithm

* docs: documentation changes

* docs: documentation changes

* updating DIRECTORY.md

* docs: documentation changes

* fix: continuous integration

* [test, docs]: add test case, documentation changes

* docs: documentation changes

* fix: continuous integration

* docs: documentation changes

* docs: documentation changes

* test: add new test

* feat: add postfix evaluation algorithm

* updating DIRECTORY.md

* fix: increase stack size

* fix: change data type

* add: parse feature

* fix: CodeQL

* docs: documentation changes

* remove unnecessary code

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-10-25 23:10:53 +05:30
Lars Müller
ce3f01f54c
Sentinel search: Remove bounds check (fixes #887) (#888)
... which is the entire point of sentinel search
2021-10-16 19:28:37 -05:00
Kumar Yash
654105c8ef
feat: add infix to postfix converter algorithm (#869)
* add infix to postfix converter algorithm

* docs: documentation changes

* docs: documentation changes

* updating DIRECTORY.md

* docs: documentation changes

* fix: continuous integration

* [test, docs]: add test case, documentation changes

* docs: documentation changes

* fix: continuous integration

* docs: documentation changes

* docs: documentation changes

* test: add new test

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-16 19:27:11 -05:00
Lorenzo Battistela
9bbec45d13
feat: Moving queue file to it's directory and creating include file for it (#874)
* Putting queue in correct dir and creating include file for it

* Update data_structures/queue/include.h

missing one function, added

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

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-15 11:28:04 -05:00
Regan Yue
3cfdbb040d
feat: Add the Sentinel Search algorithm (#883)
* Create sentinel_linear_search.c

This is a search algorithm that uses sentinels.

* Update sentinel_linear_search.c

Added some notes and made some changes

* updating DIRECTORY.md

* Apply suggestions from code review

thx u

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

* Update sentinel_linear_search.c

* Apply suggestions from code review

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-15 11:13:10 -05:00
Erik Pellizzon
c56b967161
test: removed commented code (#885) 2021-10-15 11:01:56 -05:00
AFK
2fd92f280d
feat: Add conversion/decimal_to_anybase.c algorithm (#872)
* added Conversion/decimal_to_anybase.c

* Added Converstions/decimal_to_any_base.c

* Enhencement of decimal_to_any_base.c

* Update conversions/decimal_to_any_base.c

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

* Update conversions/decimal_to_any_base.c

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

* updating DIRECTORY.md

* Update conversions/decimal_to_any_base.c

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

* Update conversions/decimal_to_any_base.c

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

* text enhencement and debugging

* comments norming

* builtin int types declacration changed into arch optimized int types

* comments norming

* Adding booleans and int types normalization

* Translation of the program into a function and tests added

* Commentary rewriting in decimal_to_anybase and code beautify

* added 1 comments in main and code beautify

* Commentary norming

* Code norming

* Apply suggestions from code review

Co-authored-by: Votre Nom <Vous@exemple.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-10-13 14:30:24 -05:00
Andrii Siriak
9d9bac2e9a
feat: Add stale workflow (#860)
* Add stale workflow

* Update .github/workflows/stale.yml

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

* Update .github/workflows/stale.yml

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

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-04 15:44:08 -05:00
Alliswell
97d021424e
feat: add G.711 a-law algorithm (#858)
* feat: add G.711 a-law algorithm

* chore: add CMakeLists.txt for audio/

* updating DIRECTORY.md

* docs: add explanation to G.711 a-law algorithm

* docs: adjust comments to G.711 a-law algorithm

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

* docs: adjust comments to G.711 a-law algorithm

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

* test: add self-test for G.711 a-law algorithm

* fix: initialize variables to zero

* docs: adjust comments to G.711 a-law algorithm

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

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-03 23:46:43 +05:30
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