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
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
Tajmeet Singh
c419e1f788
fix: arrow operator instead of dot
2020-06-23 14:54:10 +01:00
Tajmeet Singh
626ab31095
fix: incorrect constructor delegation
2020-06-23 14:53:09 +01:00
Tajmeet Singh
8969047d3f
fix: Added missing header
2020-06-23 14:41:46 +01:00
Tajmeet Singh
f4fa366da5
docs: Fixed some clangformat issues with the documentation
2020-06-23 14:32:08 +01:00
Tajmeet Singh
1158e626cb
feat: Added a class implemetation of complex numbers along with implementation of all (most) binary operations involved with complex numbers.
2020-06-23 14:29:48 +01:00
Krishna Vedala
96ed582eb2
Merge pull request #874 from kvedala/minima-algorithm
...
[feat:] Minima algorithm
2020-06-22 22:48:23 -04:00
Krishna Vedala
db9fa4dd40
Merge pull request #878 from kvedala/brents-method
...
feat: Brent's method to find extrema
2020-06-22 22:46:18 -04:00
Krishna Vedala
98bcc5df71
Merge pull request #882 from liushubin-gitHub/main
...
fix: Insert() does not work issue in binary_search_tree.cpp
2020-06-22 22:44:27 -04:00
liushubin lwx470335
fce7e22d8f
binary search tree insert() function modify。
...
insert the greater value to right,smaller value to left。
2020-06-23 09:06:00 +08:00
Krishna Vedala
8736dce71a
make multiplication 64-bit
2020-06-22 16:21:57 -04:00
Krishna Vedala
fb82e9050d
remove const identifier for function
2020-06-22 16:20:27 -04:00
Krishna Vedala
8862859c18
remove const identifier
2020-06-22 16:19:59 -04:00
Krishna Vedala
bebb76e557
make 'a' signed
2020-06-22 16:19:17 -04:00
github-actions
58d5f3ea11
updating DIRECTORY.md
2020-06-22 12:05:14 +00:00
github-actions
c563fc6694
formatting source-code for 9bc80876e8
2020-06-22 12:05:13 +00:00
Krishna Vedala
9bc80876e8
Merge pull request #855 from iamnambiar/master
...
feat: add sum of digits
2020-06-22 08:04:12 -04:00
Krishna Vedala
98b2609e1b
Merge pull request #871 from kvedala/doc-fixes
...
[docs] fixed documentations
2020-06-22 07:51:30 -04:00
Krishna Vedala
ef957bae98
removed scaling during assert checks
2020-06-21 23:08:53 -04:00
Krishna Vedala
957fe5c6ce
fixed doc for #define
2020-06-21 23:05:36 -04:00
github-actions
1c4026bca1
updating DIRECTORY.md
2020-06-22 02:31:55 +00:00
Krishna Vedala
db0fc17efb
feat: added brent's mthod to find extrema of a unimodal real function with real variables
...
Signed-off-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-21 22:30:23 -04:00
Krishna Vedala
744da70bbf
added see-also reference to brents method
2020-06-21 22:28:50 -04:00
liushubin-gitHub
433f129080
Merge pull request #3 from TheAlgorithms/master
...
sync master branch [2020.06.22]
2020-06-22 09:44:02 +08:00
Krishna Vedala
e71ee9ccb0
better documentation of algorithm
2020-06-21 18:30:31 -04:00
Krishna Vedala
21e93919f3
limit print precision to 9 decimals
2020-06-21 17:50:04 -04:00
Krishna Vedala
9c186095a8
print number of steps taken for convergence
2020-06-21 17:31:53 -04:00
Krishna Vedala
00dda54f4f
ensure search window is increasing and greater than tolerance
2020-06-21 17:12:18 -04:00
matgrz1993
d9fc878962
fix: Remove FenwickTree ( #856 )
...
* Remove FenwickTree
FenwickTree is the same Data Structure as Binary Indexed Tree located in file "range_queries/bit.cpp" so it could be removed.
* Fix cpplint errors
* docs: Update documentation
* docs: Update FenwickTree documentation
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-06-22 01:11:08 +05:30
github-actions
0f5e880376
updating DIRECTORY.md
2020-06-21 17:42:10 +00:00
github-actions
bbe1ff1286
formatting source-code for a48d05fb62
2020-06-21 17:42:09 +00:00