Commit Graph

897 Commits

Author SHA1 Message Date
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
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