Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/TheAlgorithms/C

Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
https://github.com/TheAlgorithms/C

sol1 optimized by storing abundant numbers in a condensed array

50a113addbc81d756d597ea05c6e1e9d55f78f96 authored almost 5 years ago by Krishna Vedala <[email protected]>
brute-force - compute abundant numbers every time

baaec2a3e04f7a5bd17055516936c23de34c308b authored almost 5 years ago by Krishna Vedala <[email protected]>
added source text file

1d780f1a2f61f4fe3521373eb07397eac3e8a9c0 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

(cherry picked from commit be4c47c1d95e79cac5cffb16f032895cf14ed45c)

5d5f2d49126043f6ed534d3883551ed20a47561d authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
sort using both lazy sort and shell-sort

(cherry picked from commit 0cbea99c3e77736b571ef7702a7f6a3ce6a031be)

a617fb71e588e3ea4cc8519c13f9e247c93c8d63 authored almost 5 years ago by Krishna Vedala <[email protected]>
add stats for algo 2 and use milliseconds

b4e2c13a8e22d90677cab56c4a0a72c994005444 authored almost 5 years ago by Krishna Vedala <[email protected]>
create a duplicate array

7ed48fffa5280285363f0a935114be0b00a43618 authored almost 5 years ago by Krishna Vedala <[email protected]>
added new shell-sort algorithm

c69758760504eeb7fa439c0cd5c91c554714a729 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

516a94e5ae707a0dffef0f4b5a84a26497b11aef authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
speed optimized solution + optional OpenMP

858856ea761a558531a8329077069899172c06c4 authored almost 5 years ago by Krishna Vedala <[email protected]>
added computational time

d972d473f65e1d94a50334b4a6e60e5837624168 authored almost 5 years ago by Krishna Vedala <[email protected]>
added additional summary

7706011fe05db977f7d7fbeb4e74618b1ed68436 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

4311f170ff398cd885d79bc5237e8a147eeb1391 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
make tmp variable unsigned

2c7944864ba42e57585e2864991eda270863004f authored almost 5 years ago by Krishna Vedala <[email protected]>
added comments

d8ede0523afe53f6c9825cfe03808e926e8845bd authored almost 5 years ago by Krishna Vedala <[email protected]>
fixed signedness

9083ea41dc3a85ddd440c2e270f8a5cef2873ef9 authored almost 5 years ago by Krishna Vedala <[email protected]>
method 1 using linked lists for digits

b7c579f79dcd1b4bee06cb66ff68d330c01c5e3c authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

166ad5e68d9ab4b1c02c9eea4058b68c0ae43e50 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Project Euler / Problem 19

c751359c3fd4c743d2e99ef22e0fff7bb586e26a authored almost 5 years ago by Krishna Vedala <[email protected]>
Project Euler - Problems 8-16

# Project Euler solutions
## [Problem 08](https://projecteuler.net/problem=8)
* `sol1.c1` uses...

b20488c091e9fbf25b545579ce34e6cbeb86764b authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

8db5a47bd04749e0f49a6ae5d08fb692d8fecb9f authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Merge branch 'project_euler/problem_16' into project_euler/master

# Conflicts:
# DIRECTORY.md

6ff4ac36d8a9ef1d734098a9d7c848aab97a2510 authored almost 5 years ago by Krishna Vedala <[email protected]>
Merge branch 'project_euler/problem_15' into project_euler/master

# Conflicts:
# DIRECTORY.md

772da4e1acdd6aeaff0ee8aa0752fab0a242588c authored almost 5 years ago by Krishna Vedala <[email protected]>
Merge branch 'project_euler/problem_14' into project_euler/master

# Conflicts:
# DIRECTORY.md

5e2dbc583b7857bb5f3c78cb55e59ad0605cbbf0 authored almost 5 years ago by Krishna Vedala <[email protected]>
Merge branch 'project_euler/problem_13' into project_euler/master

# Conflicts:
# DIRECTORY.md

471d3a9247099177c7d2b05a860fe4515dd1c1a3 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

9f25309c90d6f74fece243a3d4ef598ecd74bc8b authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
algorithm from http://www.cplusplus.com/forum/beginner/68694/

079938ea7c142b99f1e48dc9ebfb418fc3d40f03 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

8d76566b2efb6240e15896f99e1aab7131d7cec3 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
combinatorial solution

1dc71abe936c145ea14e6b971b6400758fe9fe4e authored almost 5 years ago by Krishna Vedala <[email protected]>
added printf info

16cc1b71ff77a000f0d48c2b4be3f651f5434be6 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

46e4bf8e5dd8ef149997c22f4f9d9f3048f3b628 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
optimized solution with option to compile using platform independent OpenMP parallelization.

6bfc6b691a2c51437869e3d64af8895b6e23c2ff authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

7d534ac8f905039b2d553b7c1a22de9738d0cc38 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
solution using arbitrary length decimal number addition using array allocation

944fbbea7c8254c3d0a2f6fb1922a8be089654dd authored almost 5 years ago by Krishna Vedala <[email protected]>
added numbers as a text file

657c31795713d9ca691d2bf0e4e6c49dbfdbe503 authored almost 5 years ago by Krishna Vedala <[email protected]>
Merge branch 'project_euler/problem_12' into project_euler/master

# Conflicts:
# DIRECTORY.md

c45653e07472812a582152d5fd9c15d608a56df5 authored almost 5 years ago by Krishna Vedala <[email protected]>
added algorithm summary in comments

58d1d75958158c4105df2be304f358c9035af158 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

f6536cc3be3031c98e4a9d08567003a5578bc0dc authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Merge branch 'project_euler/problem_12' into project_euler/master

618614e5e1fd3a93946f97eb7a33aaa486fba718 authored almost 5 years ago by Krishna Vedala <[email protected]>
Merge branch 'project_euler/problem_10' into project_euler/master

# Conflicts:
# DIRECTORY.md

51448a73994202ddab45a5f65e76e206c8e0512e authored almost 5 years ago by Krishna Vedala <[email protected]>
Merge branch 'project_euler/problem_09' into project_euler/master

* project_euler/problem_09:
updating DIRECTORY.md
optimized solution using only one loop cop...

058da0b344978dad4d0f55fc9726e9ea31957766 authored almost 5 years ago by Krishna Vedala <[email protected]>
Merge branch 'project_euler/problem_08' into project_euler/master

5d1ba0286801245c19506bfbd7525c1462f5ac94 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

dc7cbdb7686fd3a62e0ab22569b6fcf4835b6b29 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
algorithm implemented as presented in https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_12/sol2.py

f6054c5d1c35b65e1cf568d3083cc02388c6fc6b authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

2a86cb9b952b732a0430e90eb2d29a5da8b9949f authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
ignore EXE files and vscode settings

bba43f508ea0a3df7a091cf7b7e8c8f6e26be015 authored almost 5 years ago by Krishna Vedala <[email protected]>
fixed bug when n=5000

ad84e9b08d59e6d495d2eeae78357e625c0f849e authored almost 5 years ago by Krishna Vedala <[email protected]>
fixed error when n=5000

feaf57d4a31e0838d23920e7016e363fb7ad35db authored almost 5 years ago by Krishna Vedala <[email protected]>
Euler prob# 10 using sieve of Eratosthenes

747a50d3ca84c5a981b126bee06fd9807fad9453 authored almost 5 years ago by Krishna Vedala <[email protected]>
add new-line to printf

266383a7008e07c77ddac4906a86c523169bf850 authored almost 5 years ago by Krishna Vedala <[email protected]>
brute force method to find primes and add them

6e6e9e3d7e527f3d9fc78656ec3a30e5cb881d08 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

458404a6cb1ea9144770c4de4f5a5e9ab50345b5 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Merge branch 'project_euler/problem_09' of github.com:kvedala/C into project_euler/problem_09

2ab1e5552d7486277944ed897f9fa5cfdf424c23 authored almost 5 years ago by Krishna Vedala <[email protected]>
optimized solution using only one loop

copied from - https://github.com/TheAlgorithms/Python/blob/master/project_euler/problem_09/sol2.py

51115bf0b9e5869185d190b100601bf2687b2c39 authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

ebb887a253588604163b7bae2467b3c59523fdfb authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
brute force method for Euler# 09

30bc9a201fced98b81b893bc43daa456ab0335bc authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

01c80f1f443c159aa0ced422cfac13d9f8b26576 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
updating DIRECTORY.md

89a0e98035c86d3cb218d925dc1d7a4811a0966d authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
an optimized solution - O(n) complexity

6dd882487e2ef0ec0d4a7b61452d2a426eca02ee authored almost 5 years ago by Krishna Vedala <[email protected]>
brute-force method - O(n^2)

6fa88fea3556d06e5c49a3e614265a5ffd923253 authored almost 5 years ago by Krishna Vedala <[email protected]>
add input data as an ASCII text file

0d1eb3551dde42600a7233012485620df5439a7f authored almost 5 years ago by Krishna Vedala <[email protected]>
updating DIRECTORY.md

a3b126aee5756ce5d59ae379edc8a104f1f22446 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
+a much faster fibonacci computation algorithm

fa73fcb98392a8adb209175616b7cf6de300a0dd authored almost 5 years ago by Krishna Vedala <[email protected]>
Merge branch 'master' of github.com:kvedala/C

bc28239a154aaccadccc0c7604cf56e981a1f1c0 authored almost 5 years ago by Krishna Vedala <[email protected]>
print hashes in HEX

fba36e3b15b24480ab3c30e6d850c73c36ca3b3d authored almost 5 years ago by Krishna Vedala <[email protected]>
add commandline option to FibonacciDP.c

fce50a9d7c6a6a35e6b06b9e77a4b43f0dec3085 authored almost 5 years ago by Krishna Vedala <[email protected]>
print hashes in HEX

83bfb72fcf0f7140085a08b29b502fc46930df29 authored almost 5 years ago by Krishna Vedala <[email protected]>
add commandline option to FibonacciDP.c

959e25ca08f19b8877c119170632774a32d1960e authored almost 5 years ago by Krishna Vedala <[email protected]>
added file for djikstars's in /greedy_approach

d830970d59b25995035fa65033759a4bc6e2ac82 authored almost 5 years ago by sagnik-chatterjee <[email protected]>
index now starts from 1

aac957c7a25fb4775fb5f3221c66e2d87111c87e authored almost 5 years ago by tania-cmyk <[email protected]>
update_directory_md.yml: Remove GH Actions workaround

90e6ee0771d6cfe0c40464c05b80510d4f22d448 authored almost 5 years ago by Christian Clauss <[email protected]>
make strdup handle string alocation

5f4727386f6e00e5912d068afd614a55cc899d61 authored almost 5 years ago by lahcenlachgar <[email protected]>
added more grah algos & Makefile, fixed som return non-void func errors

fd52c9f2c653ce4ac6c35815d7554a45efe52ac3 authored almost 5 years ago by ttuanho <[email protected]>
updating DIRECTORY.md

807abcd0e8b644f909452f53b422c8288d8a2554 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Rename cartesianToPolar.c to cartesian_To_Polar.c

a974dba4fd519f9fb91c199dbeb8df1b9cce1b19 authored almost 5 years ago by Christian Clauss <[email protected]>
updating DIRECTORY.md

6bbed39640bd1941c4bac233932240dd69e19369 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Rename BucketSort.c to Bucket_Sort.c

dc0374f848a7107cf2607bd9788953998b32e91b authored almost 5 years ago by Christian Clauss <[email protected]>
updating DIRECTORY.md

51fef6c0b97d7239961d835f4b7c5c499f45d89e authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Rename multikey_quicksort.c to multikey_quick_sort.c

d1fcf1ed8746255b26aa01c49f6fd1c363d15525 authored almost 5 years ago by Christian Clauss <[email protected]>
updating DIRECTORY.md

dfb63b0ce34916f9748da15b059e5fd9b30a720c authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Fix filenames for DIRECTORY.md

ecb73860a35021cf5ebc917f8fec872d9e085fd0 authored almost 5 years ago by cclauss <[email protected]>
updating DIRECTORY.md

cf3b6fba8c5cb97e709328aa7b72ab5c2c5a7318 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Remove header files

e2c65cab9cb8f265e33f846d4d275d86b1ada9ef authored almost 5 years ago by Christian Clauss <[email protected]>
Update README.md

0f64d1949b8c4fb489f2f55c4cd9a0b6bf97b7d1 authored almost 5 years ago by Christian Clauss <[email protected]>
updating DIRECTORY.md

54f4387a7abe91609752c332fd431acb89387598 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
C-Plus-Plus --> C

1ac21a391fc1948cb194974a0d8ad141017df6b3 authored almost 5 years ago by Christian Clauss <[email protected]>
updating DIRECTORY.md

3dc4c464080b268e4cc613f2b7d076357fc2fd27 authored almost 5 years ago by github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Create update_directory_md.yml

This GitHub Action updates the DIRECTORY.md file (if needed) when doing a git push.

Copied fr...

c494f71131dea14189fd0a823b7ea447a3b89b8f authored almost 5 years ago by Christian Clauss <[email protected]>
Merge pull request #507 from ericcurtin/patch-1

heapsort does not work for sorted input 1,2,3,4,5

c896b07e89081e74f26264b2f3d5e82f059b26a6 authored about 5 years ago by Hai Hoang Dang <[email protected]>
heapsort does not work for sorted input 1,2,3,4,5

So I copied the C++ version from TheAlgorithms and re-wrote it in C.
Now it works.

5087249a17083027c95fd8cf641d2a0aa2d6945f authored about 5 years ago by Eric Curtin <[email protected]>
Create 872.c

89a54ae41a03a8f6b3d0ae8e5d45105cbcb15c3b authored about 5 years ago by orperes1 <[email protected]>
Merge pull request #497 from ubc1729/master

Indented "counting Sort" and fixed compilation errors

70c11c370ad751ef230b29258c639b5f7dbdbc25 authored about 5 years ago by Ashwek Swamy <[email protected]>
format code

6159abcff1881fd061e6c012be44bb2a3d79591b authored about 5 years ago by Ashwek Swamy <[email protected]>
Merge pull request #498 from goodxodyd11/master

Create BeadSort.c

ebc8fc851f3ec35770cc2f637c2bb68fcb13874d authored about 5 years ago by Ashwek Swamy <[email protected]>
Create BeadSort.c

835fa06ab088c79a6e74f24759eb482d2b1c08b6 authored about 5 years ago by Jeong Tae Yong <[email protected]>
Indented "countingSort" and fixed compilation errors

Added description about advantage of counting sort over comparison sort and
how counting sort can...

5c1e88cc51174b0d65fcbfe524d507a3ea10f9a6 authored about 5 years ago by ubc1729 <[email protected]>
Merge pull request #469 from ajinkya-ch/TernarySearch

added ternary search algorithm

c6d7e59cb8ef1e5e3e776844a905cda3be737ed5 authored about 5 years ago by Ashwek Swamy <[email protected]>
Merge pull request #429 from gangwalrachit/patch-4

Create middleElementInList.c

01fa74093a9106edaee356a45b15d24219320486 authored about 5 years ago by Ashwek Swamy <[email protected]>
Create Large_Factorials.c (#398)

Create Large_Factorials.c

1d886b623587a1e6708165fa6ad6fa19dece178d authored about 5 years ago by HrishiNarayanan <[email protected]>
Added Cartesian to Polar coordinates algorithm (#355)

Added Cartesian to Polar coordinates algorithm

02fc2256480ef8efb574a7fe0f487d2841fb9745 authored about 5 years ago by Dan <[email protected]>