Commit Graph

68 Commits

Author SHA1 Message Date
Krishna Vedala
9b538f3783 ignore non numeric characters when creating large_number from a string 2020-05-24 14:37:32 -04:00
Krishna Vedala
f4778612e0 large_number: created assignment operator 2020-05-24 14:37:31 -04:00
Krishna Vedala
1cb1641abc compute arbitrarily large fibonacci number 2020-05-24 14:37:31 -04:00
Krishna Vedala
72ac15ed01 resolved compiler warnings 2020-05-24 14:37:31 -04:00
Krishna Vedala
a1997776c9 split large_number class to a separate header file 2020-05-24 14:37:31 -04:00
Krishna Vedala
70cd195f30 large_factorial.cpp: added tests 2020-05-24 14:37:31 -04:00
Krishna Vedala
fe0c2b8517 compute factorial of arbitrarily any number 2020-05-24 14:37:31 -04:00
Christian Clauss
039ca7bdea
Update others/stairs_pattern.cpp 2020-04-19 17:48:48 +02:00
faizan Ahamed
c2316e1efc
Update stairs_pattern.cpp 2020-04-19 20:50:42 +05:30
faizan Ahamed
9ac7981fed
Update stairs_pattern.cpp 2020-04-19 20:39:06 +05:30
faizan Ahamed
2b01decae1
Update stairs_pattern.cpp 2020-04-19 20:24:28 +05:30
faizan Ahamed
e15dd6ec99
Update stairs_pattern.cpp 2020-04-19 20:23:48 +05:30
faizan Ahamed
e4fa1dbcaf
Create stairs_pattern.cpp 2020-04-19 18:49:08 +05:30
stepfencurryxiao
f659bcc9fc Don't use bits/stdc++.h 2020-04-18 10:43:43 +08:00
Siddharth M
ca068e5828
Measure time (#706)
* Create measure_time_elapsed.cpp

* add functionality to measure time elapsed of a code

* cout --> std:cout

* Update measure_time_elapsed.cpp

* Update time_elapsed.cpp

* Update measure_time_elapsed.cpp

* std:cout << getTimeInMicroseconds() - starttime;

* std:cout << getTimeInMicroseconds() - starttime;

* Update measure_time_elapsed.cpp

* Fix include order and use int64

* Remove trailing whitespace

* Delete time_elapsed.cpp

* int64_t

* #include <sys/time.h>

* long long

* int64

* int64_t

* __int64_t

* std::cout and std::nullptr

* #include <iostream>

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-03-01 15:47:32 +01:00
Nishant Sharma
513a7d3a77 added fast_integer_input.cpp (#696)
* added fast_integer_input.cpp

* fixed white spaces

* fixed white spaces

* fixed std::

* fixed std::

* \n

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-01-10 19:56:12 +01:00
Kushagra Nigam
b53bdf16ec Matrix Exponentiation (#589)
* Matrix Exponentiation

* Update and rename Others/Matrix_Expo.cpp to others/matrix_exponentiation.cpp

* Update matrix_exponentiation.cpp

* clang-format -i -style="{BasedOnStyle: Google, IndentWidth: 4}" matrix_exponentiation.cpp

* clang-format -i -style="{IndentWidth: 4}" matrix_exponentiation.cpp

* Fix cpplint readability/braces issue

* using std::cin; using std::cout; using std::vector;

* added int_64 instead of long long

* Minor changes

* Update matrix_exponentiation.cpp
2019-12-05 22:13:16 +01:00
Christian Clauss
ac1ba3a613
rename Others -> others (#648)
* rename Others -> temp

* rename Others -> others
2019-11-28 13:29:54 +01:00