Commit Graph

1532 Commits

Author SHA1 Message Date
Tishasoumya-02
9217023dd0 fix :fixing merge conflicts 2021-09-20 10:11:50 +05:30
Tishasoumya-02
da8b1ffa30 fix :merge conflict 2021-09-19 21:03:28 +05:30
Tishasoumya-02
78d6f0e2f9 fix: bug fixes 2021-09-19 09:10:56 +05:30
Tisha Soumya
25e0fa925b Merge branch 'TheAlgorithms:master' into tisha_patch1 2021-09-18 22:23:30 +05:30
Tishasoumya-02
bbfeba5122 Merge branch 'master' of https://github.com/Tishasoumya-02/C-Plus-Plus into tisha_patch1 2021-09-18 22:16:47 +05:30
Tishasoumya-02
f5972aa250 fix: try-catch block 2021-09-18 22:15:05 +05:30
Tishasoumya-02
6520e53ec2 fix : added try block 2021-09-18 22:00:22 +05:30
Andrii Siriak
9f5bfc7230 feat: Unleash full power of the stale workflow (#1607)
Set stale bot action limit to default because it's actually GitHub API action limit and not the number of issues/PRs it marks per run as I thought

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-14 13:16:13 -05:00
Andrii Siriak
66331a77b4 [feat/fix]: Add working workflow for stale items (#1605)
* Create stale.yml

* Delete stale.yml

* Update stale.yml
2021-09-13 14:23:24 -05:00
Tisha Soumya
3635d1b725 fix : display changes
Co-authored-by: ERR ! <75872316+amino19@users.noreply.github.com>
2021-09-13 15:31:56 +05:30
Abhinn Mishra
55b5bd189d Merge branch 'master' into tisha_patch1 2021-09-12 23:13:43 +05:30
github-actions
59d2691d5b clang-format and clang-tidy fixes for db8e74a9 2021-09-12 17:42:21 +00:00
Tisha Soumya
db8e74a904 docs: fix changes
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-12 23:11:39 +05:30
Mayank Mamgain
040237d41a feat: Add Travelling Salesman Problem(Naive Approach) (#1590)
* Add Travelling Salesman Problem(Naive Approach)

* Change header and add reference in Travelling Salesman problem

* feat: Add travelling salesman problem(Naive Approach)

* feat: Add travelling salesman problem.

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* updating DIRECTORY.md

* Update graph/travelling_salesman_problem.cpp

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

* feat: Add Travelling Salesman Problem

* feat: Add Travelling Salesman Problem

* Update graph/travelling_salesman_problem.cpp

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

* feat: Add travelling salesman problem

* fix: Hopefully fix Ci errors

* Update graph/travelling_salesman_problem.cpp

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

* clang-format and clang-tidy fixes for 56dc1e90

* feat: Add travelling salesman problem.

* feat: Add travelling salesman problem

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-12 12:19:06 -05:00
github-actions
58a7387ff4 clang-format and clang-tidy fixes for 57953be1 2021-09-12 17:04:34 +00:00
Tisha Soumya
57953be148 docs : documentation changes
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-12 22:33:52 +05:30
Tisha Soumya
8740c411e4 docs : documentation fixes
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-12 22:33:14 +05:30
github-actions
bc43643715 clang-format and clang-tidy fixes for 3b2e68c2 2021-09-11 04:49:30 +00:00
Tishasoumya-02
3b2e68c22b fix: changed the data types 2021-09-11 10:18:25 +05:30
github-actions
7469415279 clang-format and clang-tidy fixes for 38547be2 2021-09-09 04:24:41 +00:00
github-actions
f854dcd8af updating DIRECTORY.md 2021-09-09 04:24:35 +00:00
Tishasoumya-02
38547be259 fix : display function removed 2021-09-09 09:53:50 +05:30
Tishasoumya-02
e32429bf87 fix : display function removed 2021-09-09 09:49:25 +05:30
github-actions
32b9037068 clang-format and clang-tidy fixes for f7695035 2021-09-08 18:43:06 +00:00
github-actions
a5ddf1eeec updating DIRECTORY.md 2021-09-08 18:42:59 +00:00
github-actions
b57ed61a5d formatting filenames f7695035 2021-09-08 18:42:59 +00:00
Tishasoumya-02
f7695035f5 fix: clang-tidy warnings 2021-09-09 00:12:10 +05:30
Tishasoumya-02
633cb2c05d fix : ouptut statement changes 2021-09-08 10:15:20 +05:30
Tishasoumya-02
163b6df34f docs :fix indentation 2021-09-08 09:35:24 +05:30
Tishasoumya-02
15322a0d34 docs : changes required in the docs 2021-09-08 08:24:45 +05:30
Tishasoumya-02
971e9593ec fix: chamges in the code 2021-09-07 22:23:10 +05:30
Tishasoumya-02
36273ebb57 fix: suggested changes 2021-09-07 19:31:01 +05:30
Tishasoumya-02
ac273aa4a3 docs :added an external link for explanation of the algorithim 2021-09-07 13:31:15 +05:30
Tishasoumya-02
f44daaa526 fix: synatx changes 2021-09-07 12:51:09 +05:30
Tishasoumya-02
57c474a573 add:test for the reversing algorithim 2021-09-07 12:30:49 +05:30
Tishasoumya-02
81ea6eaafa Merge branch 'tisha_patch1' of https://github.com/Tishasoumya-02/C-Plus-Plus into tisha_patch1 2021-09-07 09:57:33 +05:30
Tishasoumya-02
681e84d52a Merge branch 'master' of https://github.com/Tishasoumya-02/C-Plus-Plus into tisha_patch1 2021-09-07 09:56:57 +05:30
Tisha Soumya
3c2cf78b79 Updating data_structures/reverse_a_linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-07 00:01:02 +05:30
github-actions
123d6640bb clang-format and clang-tidy fixes for 19b4a937 2021-09-06 18:30:32 +00:00
Tisha Soumya
19b4a93702 Update the description in data_structures/reverse_a_linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-06 23:59:51 +05:30
Tisha Soumya
650a2fdc46 Update data_structures/reverse_a_linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-06 23:58:24 +05:30
Tisha Soumya
55de9f9ddc Update data_structures/reverse_a_linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-06 23:58:01 +05:30
github-actions
7cb21c9123 clang-format and clang-tidy fixes for 5cac47c9 2021-09-06 14:19:26 +00:00
github-actions
fef4c55eab updating DIRECTORY.md 2021-09-06 14:19:17 +00:00
Tisha Soumya
5cac47c905 Merge branch 'master' into tisha_patch1 2021-09-06 19:48:23 +05:30
Tishasoumya-02
71b1da4085 add: reverse linked list algorithim 2021-09-06 11:46:31 +05:30
Tushar Khanduri
ea9ae3a91b feat: Add the Selection Sort Recursive algorithm (#1578)
* Create selection_sort_recursive.cpp

* updating DIRECTORY.md

* Add: Description of Algorithm

* Update sorting/selection_sort_recursive.cpp

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

* clang-format and clang-tidy fixes for 8f466c86

* Apply suggestions from code review

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* Update selection_sort_recursive.cpp

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* clang-format and clang-tidy fixes for bfda3660

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-09-05 23:20:51 +05:30
Jxtopher
a6bbe050f7 fix: Add return 0 in bactracking/magic_sequence.cpp (#1589)
* Update magic_sequence.cpp

* clang-format and clang-tidy fixes for ff127de6

* Update backtracking/magic_sequence.cpp

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-05 12:37:31 -05:00
RitikaGupta8734
b82e2cd4e7 feat: added z_algorithm in strings (#1581)
* feat: added z_algorithm in strings

* Updated z_function.cpp 

Updated z_function.cpp as per contribution guidelines.
Fixed Link using github markdown syntax
Created a separate function for tests and covered the corner case

* Apply suggestions from code review

More comments added to the code

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

* Apply suggestions from code review

Some more documentation added as per contribution guidelines.

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

* Update strings/z_function.cpp

comments added

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

* Update strings/z_function.cpp

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

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 0c7515e9

* Updated int -> uint64_t 

Updated int -> uint64_t for non-negative values

* clang-format and clang-tidy fixes for 12d51239

* Update strings/z_function.cpp

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

* Update strings/z_function.cpp

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

* More comments added

* clang-format and clang-tidy fixes for 8a627ac9

* Update strings/z_function.cpp

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

* Update strings/z_function.cpp

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-04 12:39:19 +05:30
ERR !
341ed50da8 feat: Finding no. of digits in a Number (#1497)
* Finding no. of digits in a Number

* Initialize n

* Initialize n as int

* Changes done

* Changes done with codes by adding more comments

* Changes done with codes by adding name as md

* Modified comments

* add void

* remove void & update comments

* Set some changes to pass Awesome CI Workflow

* add return 0 & file name in lower case

* Changes done..

* Update finding_number_of_Digits_in_a_Number.cpp

* Update finding_number_of_Digits_in_a_Number.cpp

* Update finding_number_of_Digits_in_a_Number.cpp

* formatting filenames 0ec45e33

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 0ec45e33

* clang-format and clang-tidy fixes for 9c0a437e

* updating DIRECTORY.md

* Wrote test, needs review

* [fix/docs]: Fix tests/code and add documentation

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-03 14:49:37 -05:00