Commit Graph

95 Commits

Author SHA1 Message Date
Krishna Vedala
4cb3eeb1af
Revert "Added math function power (#604)" (#608)
This reverts commit 88726b9425.
2020-09-23 21:03:24 -04:00
Krishna Vedala
526c898644
Revert "Added strlen function (#606)" (#607)
This reverts commit 598630cecb.
2020-09-23 14:33:57 -04:00
Du Yuanchao
598630cecb
Added strlen function (#606)
* added strlen function

* updating DIRECTORY.md

* Update strings/strlen.c

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

* Update strings/strlen_recursion.c

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

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-23 13:22:09 -05:00
Du Yuanchao
88726b9425
Added math function power (#604)
* added power algorithm

* updating DIRECTORY.md

* make test function static

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

* Update misc/power_recursion.c

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

* Update misc/power_recursion.c

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

* Update misc/power.c

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

* Update misc/power.c

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

* Update misc/power.c

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

* Update misc/power.c

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

* Update misc/power_recursion.c

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

* Update misc/power_recursion.c

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

* Update misc/power.c

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

* Update misc/power_recursion.c

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

* Update misc/power_recursion.c

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

* Update misc/power.c

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

* Update misc/power.c

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

* Update misc/power_recursion.c

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

* Update misc/power.c

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-22 11:50:00 -05:00
Ankita19ms0010
49e8f4a7d7
feat:Add Polynomial Addition (#600)
* feat:Add Polynomial Addition

* Review changes

* updating DIRECTORY.md

* Apply suggestions from code review

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

* Corrected printing

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

* file path fixed

* updating DIRECTORY.md

* Corrected free memory

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-18 12:23:49 -05:00
Lakhan Nad
e75d0e75d7
Feature: Added segment_trees Closes #561 (#595)
* Feature: Added segment_trees Closes #561

* doc: documentation improved and explanations added

* updating DIRECTORY.md

* doc: changes in documentation

* doc: suggested doc changes and int types changed

* update: doc change for main function

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

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-09 12:50:21 -04:00
Krishna Vedala
bb6c62aa62
feat: Project Euler Problem 5 - #162 (#599)
* rename existing code as sol3

* Added naive implementation for Problem 5

* Added a solution for Euler Problem 5 with easy improvements

* rename new files

* code formatting

* update documentations

* fix docs

* updating DIRECTORY.md

Co-authored-by: buffet <niclas@countingsort.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-09-03 08:52:21 -04:00
Krishna Vedala
23b2a290fb
feat: Project Euler Problem 7 - #167 (#598)
* Please check this solution to Q7 of Project Euler

* rename file

* fix code formatting

* added doc

* updating DIRECTORY.md

* added see-also references

Co-authored-by: adityasheth305 <43900942+adityasheth305@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-09-03 08:51:59 -04:00
github-actions
7ed1ee96d6 updating DIRECTORY.md 2020-08-17 02:01:25 +00:00
github-actions
cdb53ca256 updating DIRECTORY.md 2020-08-08 12:38:32 +00:00
Du Yuanchao
d71e601fd7
Merge pull request #586 from shellhub/feature
Convert integer to string
2020-07-31 22:14:15 +08:00
github-actions
aded2a610a updating DIRECTORY.md 2020-07-31 14:03:38 +00:00
github-actions
6d4e9363bf updating DIRECTORY.md 2020-07-31 11:01:20 +00:00
Du Yuanchao
f3bed0ed98
decimal to binary using recursion (#575)
* add decimal_to_binary_recursion.c

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-31 07:00:02 -04:00
Krishna Vedala
ff2e7a3528
[enhancement] formatted and added Hash directory to cmake (#580)
* added hash folder to CMAKE build

* split sdbm code from hash.c to independent program

* update readme file

* docs + vartype fix

* split djb2 code from hash.c to independent program

* fix function reference

* split xor8 code from hash.c to independent program

* split adler32 code from hash.c to independent program

* remove additional author

* split crc32 code from hash.c to independent program

* remove redundant files

* interpret large numbers as specific types

* disable eror clang-diagnostic-implicitly-unsigned-literal

* force use constants

* updating DIRECTORY.md

* clang-tidy fixes for 606e5d4fce

* added return in function doc to enable doc

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-29 13:18:11 -04:00
Du Yuanchao
3dc947213a
Bubble sort recursion (#574)
* bubble sort by recursion

* updating DIRECTORY.md

* fix compile error

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-21 11:07:30 -04:00
Krishna Vedala
9a9781064f
[enhancement] New Graphics implementation with algorithm for spirograph (#557)
* skeleton of spirograph

* add graphics to cmake

* updating DIRECTORY.md

* added cmake to graphics folder

* add stub test function

* working program

* set pre-processor macro if GLUT is available

* use snprintf

details: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm

* conditional include for mac

* corrected conditional include for mac

* fix cmake for MACOS

* OpenGL animation if available, else plot to CSV

* MacOS does not provide glutBitmapString function

* formatting source-code for 8d570b4c28

* fix parameter

* try caps include path GL

* provide custom glutBitmapString cuntion

* add glut library to gitpod docker

* enable VNC in gitpod

* better documentation and cmake configuration

* enable keyboard inputs to pause and change parameters

* fix lgtm alerts

* implementation similar to one in C++ repo

* fix compilation errors on MSVC

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-10 15:48:07 -04:00
github-actions
e21049e8b3 updating DIRECTORY.md 2020-06-17 23:19:30 +00:00
github-actions
bb20a2548f updating DIRECTORY.md 2020-06-17 23:14:32 +00:00
Krishna Vedala
f742e96b0e
Merge remote-tracking branch 'upstream/master' into merge_upstream 2020-06-17 19:12:50 -04:00
github-actions
cf4be8838e updating DIRECTORY.md 2020-06-17 12:15:14 +00:00
github-actions
a78893eba5 updating DIRECTORY.md 2020-06-14 17:37:08 +00:00
github-actions
eda34bc5b2 updating DIRECTORY.md 2020-06-13 18:15:00 +00:00
github-actions
e5543d5356 updating DIRECTORY.md 2020-06-13 18:08:34 +00:00
github-actions
7c815b86b2 updating DIRECTORY.md 2020-06-11 15:26:23 +00:00
github-actions
50ea49e58e updating DIRECTORY.md 2020-06-10 18:34:15 +00:00
github-actions
57f4f5e2f6 updating DIRECTORY.md 2020-06-10 16:22:29 +00:00
github-actions
e29b2005b1 updating DIRECTORY.md 2020-06-10 15:38:18 +00:00
github-actions
20da9ea683 updating DIRECTORY.md 2020-06-07 18:58:47 +00:00
github-actions
7e66e149ee updating DIRECTORY.md 2020-06-03 18:55:22 +00:00
github-actions
6af5c96573 updating DIRECTORY.md 2020-06-03 16:01:26 +00:00
github-actions
47b653e7ca updating DIRECTORY.md 2020-05-31 16:44:21 +00:00
github-actions
e738cef596 updating DIRECTORY.md 2020-05-30 18:26:38 +00:00
github-actions
1f86dffba1 updating DIRECTORY.md 2020-05-30 18:01:31 +00:00
github-actions
364c3c9f57 updating DIRECTORY.md 2020-05-29 20:16:48 +00:00
github-actions
e755365f0a updating DIRECTORY.md 2020-05-29 20:14:13 +00:00
Krishna Vedala
2fff1d5a28
Merge pull request #5 from kvedala/function_timer
remove external dependency on Function timer
2020-05-29 16:05:02 -04:00
github-actions
9602315038 updating DIRECTORY.md 2020-05-29 18:17:14 +00:00
Krishna Vedala
f46b4a095e Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	DIRECTORY.md
2020-05-29 14:16:49 -04:00
github-actions
52cf54409e updating DIRECTORY.md 2020-05-29 17:03:32 +00:00
github-actions
c3a1244251 updating DIRECTORY.md 2020-05-28 09:44:00 +00:00
github-actions
2d7af2923d updating DIRECTORY.md 2020-05-25 22:43:18 +00:00
Stepfen Shawn
0538404f86
Merge pull request #524 from kvedala/numerical-methods
Numerical methods
2020-05-25 12:36:09 +08:00
github-actions
c32e0d161e updating DIRECTORY.md 2020-05-23 01:06:32 +00:00
github-actions
d1f6643355 updating DIRECTORY.md 2020-05-22 15:08:33 +00:00
github-actions
bc3f26c141 updating DIRECTORY.md 2020-05-18 10:57:31 +00:00
github-actions
153b904429 updating DIRECTORY.md 2020-05-14 04:43:56 +00:00
github-actions
cf37f74248 updating DIRECTORY.md 2020-05-11 15:15:54 +00:00
github-actions
93607e86f2 updating DIRECTORY.md 2020-05-09 16:39:10 +00:00
github-actions
496a306135 updating DIRECTORY.md 2020-05-03 00:50:12 +00:00