Commit Graph

925 Commits

Author SHA1 Message Date
github-actions
33b5033adc formatting source-code for f030a69288 2020-06-23 20:01:26 +00:00
Ayaan Khan
f030a69288 Merge branch 'master' of https://github.com/ayaankhan98/C-Plus-Plus 2020-06-24 01:30:31 +05:30
Ayaan Khan
2d0325699f fixed code quality and added docs 2020-06-24 01:30:14 +05:30
github-actions
26ffe8c6d7 updating DIRECTORY.md 2020-06-23 19:34:19 +00:00
github-actions
2d4a1dd19f formatting source-code for 1d7a73ea58 2020-06-23 19:34:19 +00:00
Neeraj C
1d7a73ea58
feat: add check_amicable_pair.cpp (#879)
* feat: add check_amicable_pair.cpp

* fix: space between else and brace.

* fix: spaces between tokens

* fix: removed sqrt and test func combined to single

* docs: removed wiki link

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

* docs: add markdown syntax for wikipedia link

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

* docs: change brief to details in comment

Line 7

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

* docs: typo fixed

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

* docs: removed extra line

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

* docs: removed copyright

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

* docs: add author name

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

* fix: shortened the code in is_amicable()

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

* fix: changed is_amicable to are_amicable

* docs: cleared unwanted line

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

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-06-24 01:03:42 +05:30
github-actions
6882b545c7 formatting source-code for 91c9c96cf4 2020-06-23 19:29:12 +00:00
Ayaan Khan
91c9c96cf4 code quality fix deallocate resorces 2020-06-24 00:57:31 +05:30
github-actions
2802dca895 formatting source-code for a887dc59ed8e790d479773e0ce5e24c6db110afb 2020-06-24 00:37:36 +05:30
Ayaan Khan
866c23e19e Added author name 2020-06-24 00:37:36 +05:30
Ayaan Khan
8252816dcc fixed Code quality and added docs 2020-06-24 00:37:36 +05:30
Ayaan Khan
886cb520f0 fixed compiler error 2020-06-24 00:37:36 +05:30
Ayaan Khan
fa92a18c2e fixed cpplint long -> int64 2020-06-24 00:37:36 +05:30
Ayaan Khan
c344d8f6f1 Multiplication result may overflow 'int' before it is converted to 'long'. 2020-06-24 00:37:36 +05:30
Ayaan Khan
7f40775055 fix docs 2020-06-24 00:36:56 +05:30
Ayaan Khan
f0ab9a0d38 fixed line spacing in tests 2020-06-24 00:36:56 +05:30
github-actions
a56e54ca15 formatting source-code for 7c8617fa46 2020-06-24 00:36:56 +05:30
Ayaan Khan
555f4fb98f fixed docs 2020-06-24 00:36:56 +05:30
github-actions
6d88c992ed formatting source-code for ced5dcd6c4 2020-06-24 00:36:56 +05:30
Ayaan Khan
2a41d916b0 Added template and test cases 2020-06-24 00:36:56 +05:30
Ayaan Khan
86bd671c66 switched to normal functions from lambda 2020-06-24 00:36:56 +05:30
github-actions
11728ee231 formatting source-code for e464ddac36 2020-06-24 00:36:22 +05:30
Ayaan Khan
38db7fdec0 Bug Fix heap sort [Fresh Implementation] 2020-06-24 00:35:41 +05:30
github-actions
549daeebfd formatting source-code for 8233eda889 2020-06-24 00:35:41 +05:30
Ayaan Khan
5c77f1ebe0 Bug Fix heap sort [Fresh Implementation] 2020-06-24 00:35:41 +05:30
Ayaan Khan
4afe371ba5 closed the paranthesis of line 3 2020-06-24 00:34:47 +05:30
Ayaan Khan
99ca279ff6 fixed documentation 2020-06-24 00:34:33 +05:30
Ayaan Khan
0a09c1e382 fixed line spacing 2020-06-24 00:34:33 +05:30
github-actions
b1d2ad1dfc formatting source-code for b06bbf4dc6 2020-06-24 00:34:33 +05:30
Ayaan Khan
5e63bede6f fixed line spacing 2020-06-24 00:34:33 +05:30
Ayaan Khan
46e07288ba Fixed Bug [munmap_chunck() core dumped] 2020-06-24 00:34:33 +05:30
github-actions
7393d88811 updating DIRECTORY.md 2020-06-23 19:02:47 +00:00
Krishna Vedala
aeb2bc4e2c
Merge pull request #884 from tjgurwara99/master
Feat: Class implementation of complex numbers along with most complex number operations.
2020-06-23 15:02:17 -04:00
Tajmeet Singh
75d8ee7cf0 fix: Readability issues 2020-06-23 19:43:56 +01:00
Tajmeet Singh
9048e19184 fix: cpplint issues 2020-06-23 19:32:05 +01:00
Tajmeet Singh
95320b38a4 fix: cpplint issues 2020-06-23 19:29:11 +01:00
Tajmeet Singh
bcd5df725d feat: added polar form initialisation to our Complex class 2020-06-23 19:23:15 +01:00
Ayaan Khan
2aec4efdd3
fix: integer overflow due to multiplication fixed (#886)
* formatting source-code for 72c365dcd3

* Fixed Bug [munmap_chunck() core dumped]

* formatting source-code for b06bbf4dc6

* fixed line spacing

* fixed line spacing

* fixed documentation

* closed the paranthesis of line 3

* formatting source-code for 8233eda889

* Bug Fix heap sort [Fresh Implementation]

* formatting source-code for e464ddac36

* Bug Fix heap sort [Fresh Implementation]

* formatting source-code for 803981c831

* switched to normal functions from lambda

* formatting source-code for ced5dcd6c4

* Added template and test cases

* formatting source-code for 7c8617fa46

* fixed docs

* fixed line spacing in tests

* fix docs

* Multiplication result may overflow 'int' before it is converted to 'long'.

* fixed cpplint long -> int64

* fixed compiler error

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-06-23 23:50:45 +05:30
Tajmeet Singh
61084adbd3 fix: fixed forgotten namespace 2020-06-23 18:16:26 +01:00
Tajmeet Singh
ce81700380 fix: added missing header for std::time 2020-06-23 18:04:42 +01:00
Tajmeet Singh
907b829830 docs: copyright message 2020-06-23 18:00:53 +01:00
Tajmeet Singh
b9658104cb fix: Taken onboard some suggested changes 2020-06-23 17:56:53 +01:00
Krishna Vedala
445f6722d8
Merge pull request #885 from kvedala/lgtm_fix
[bug fix] errors reported by lgtm for #880
2020-06-23 12:10:10 -04:00
Krishna Vedala
8575e21e73
fix lint errors 2020-06-23 11:50:12 -04:00
github-actions
56cb22cd44 formatting source-code for 497ede21e0 2020-06-23 15:46:52 +00:00
Krishna Vedala
497ede21e0
fix function return 2020-06-23 11:45:16 -04:00
Krishna Vedala
2fe7e4add0
fix function return + add docs 2020-06-23 11:43:28 -04:00
Tajmeet Singh
52f918a4ff fix: Fixed issue with Windows CI test - M_PI doesn't work on Windows CI 2020-06-23 16:33:54 +01:00
Tajmeet Singh
1708de2296 fix: fixed all pull request suggestions 2020-06-23 16:23:49 +01:00
Krishna Vedala
27a63f5427
Merge pull request #881 from kvedala/fix-large_number.h
bug fix: large number.h
2020-06-23 10:31:26 -04:00