Commit Graph

135 Commits

Author SHA1 Message Date
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
DhruvPasricha
33f9f85122
Update sorting/selection_sort_recursive.c
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-24 23:55:01 +05:30
DhruvPasricha
18a9974a0c
Update sorting/selection_sort_recursive.c
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-24 23:54:53 +05:30
DhruvPasricha
f894ff2ac3
Update sorting/selection_sort_recursive.c
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-02-24 23:54:42 +05:30
DhruvPasricha
98a1b14242 added selection_sort_recursive.c 2021-02-24 13:54:57 +05:30
Gabriel Fioravante
97dfc06875
Update sorting/bubble_sort_2.c
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-17 22:46:57 -05:00
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
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
David Leal
3052511c14
fix: LGTM warning/alert (#601)
* fix: LGTM warning

* fix: change requested
2020-09-09 18:54:16 -04:00
shellhub
10d006c3b1 * fix docs
* fix insertion sort and selection sort
2020-07-31 20:44:55 +08:00
Krishna Vedala
3c1b585656
[enhancement] updated cmake checks (#581)
* added header file checks

* cmake cleanup and better use of checks

* fixed bug in numerical_methods/CMake

* add docs to cmake
2020-07-23 10:44:18 -04:00
Du Yuanchao
e43024e8f5
bubble sort optimization (#573) 2020-07-21 11:16:11 -04:00
Du Yuanchao
3dc947213a
Bubble sort recursion (#574)
* bubble sort by recursion

* updating DIRECTORY.md

* fix compile error

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-21 11:07:30 -04:00
Krishna Vedala
cdf8453db8
[Bug] gnome sort: reverted merge commit adding error (#559)
* Revert "Merge pull request #513 from tania-cmyk/master"

This reverts commit 5eebdedefc, reversing
changes made to 53e92ebc05.

* formatting source-code for 16110cd079

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-08 08:54:58 -04:00
Krishna Vedala
6072e3b111
[bugs & docs] lots of documentation and bug fixes (#554)
* sudoku - lots of documentation and bug fixes

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

* fix uint8_t format specifier

* fix format specifiers

* fix space in doc

* fix doc for get_next_unknown

* fix docs and lgtm alert in euler problem 19

* fix docs & lgtm error fibonacci_fast

* fix docs & lgtm alert merge_sort

* free dynamic memory
2020-07-04 15:05:30 -04:00
Krishna Vedala
b693440d55
[docs] add documentation group (#556)
* add documentation group

* function parameter docs

* fix function parameter direction

* free dynamic memory
2020-07-04 13:59:21 -04:00
Krishna Vedala
5daeb8daaa
fix docs & add link 2020-07-01 21:02:41 -04:00
Krishna Vedala
ec57c8fa40
docs + fix lgtm alert
4d0dbc401d/files/sorting/bead_sort.c (xdc9736f163b5f58d):1
2020-07-01 20:58:44 -04:00
Krishna Vedala
6470f0318b
fixed documentations 2020-06-28 15:18:52 -04:00
github-actions
6f98288110 formatting source-code for 5bba04b671 2020-06-28 15:25:37 +00:00
Krishna Vedala
f9d506fdb0
added authorship to docs 2020-06-06 14:51:49 -04:00
github-actions
466ccaa407 formatting filenames 909e15d8be 2020-05-30 18:26:19 +00:00
github-actions
0779a2b70d formatting source-code for b388e4a309 2020-05-29 20:23:24 +00:00
Krishna Vedala
2fff1d5a28
Merge pull request #5 from kvedala/function_timer
remove external dependency on Function timer
2020-05-29 16:05:02 -04:00
Krishna Vedala
f46b4a095e Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	DIRECTORY.md
2020-05-29 14:16:49 -04:00
Krishna Vedala
b1e1923580 check if math library is available and include if present 2020-05-29 14:04:14 -04:00
Krishna Vedala
d4f202cbea force include math library for each target 2020-05-29 13:49:28 -04:00
Krishna Vedala
1c5a699340 remove function_timer from all compilations 2020-05-29 10:47:36 -04:00
Sombit Bose
1c07d61ce3
Merge pull request #538 from shubhamsah/master
Added Priority Queue, Queue (link list) and Merge Sort
2020-05-28 15:12:18 +05:30
Shubham Sah
f4cbdd39cf
Update and rename MERGENR.C to merge_sort_nr.c 2020-05-28 11:40:03 +05:30
Shubham Sah
2bdf7732d8
Update MERGENR.C
Added output of the program
2020-05-26 21:11:22 +05:30
Krishna Vedala
eea5188389
Merge commit '0538404f8652bb8f80d362eab2bf988a3eb545bd'
* commit '0538404f8652bb8f80d362eab2bf988a3eb545bd':
  added link to compile and run code online
  Gist to run and test the Durand-Kerner Algorithm online and view the roots convergence
  better formatting of root values
  updating DIRECTORY.md
  another shell-sort implementation
  updating DIRECTORY.md
  remove timing calculation
  compute real eigen values of a square matrix using shit and deflate QR decomposition algorithm
  QR decomposition of any matrix with real elements
  Durand Kramer method for roots of any polynomial

# Conflicts:
#	DIRECTORY.md
#	numerical_methods/durand_kerner_roots.c
#	numerical_methods/qr_decomposition.c
#	numerical_methods/qr_eigen_values.c
2020-05-25 11:42:12 -04:00
Stepfen Shawn
0538404f86
Merge pull request #524 from kvedala/numerical-methods
Numerical methods
2020-05-25 12:36:09 +08:00
Shubham Sah
2357e8bd69
Create MergeNR.c
Program to demonstrate Merge sort algorithm without recursion
2020-05-23 21:44:41 +05:30
Krishna Vedala
9451beb977
more mallocs 2020-04-23 20:53:53 -04:00
Krishna Vedala
4b07f0f6fc
use malloc and free for dynamic variables 2020-04-23 20:45:45 -04:00