Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ankitpokhrel/c-code-katas
Collection of short programs, data structures, algorithms and competitive programs implemented in C programming language.
https://github.com/ankitpokhrel/c-code-katas
Add reservoir sampling
500dbecec73a1e1566eab08c90ec61049683a506 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
500dbecec73a1e1566eab08c90ec61049683a506 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Reservoir sampling
44a9fbdf178979a696456d333fb49e3fd454991d authored almost 8 years ago by Ankit Pokhrel <[email protected]>
44a9fbdf178979a696456d333fb49e3fd454991d authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add Luhn algorithm to list
d02356eb5b6ae3e3b3df6db1938254c3a2a63037 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
d02356eb5b6ae3e3b3df6db1938254c3a2a63037 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add Luhn algorithm
faa13f1c85a51b8eb27471543307510527485c49 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
faa13f1c85a51b8eb27471543307510527485c49 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Remove unnecessary equals comparison
4bb0bc499a0d07fe822d533f76dc36c125cfd2c2 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
4bb0bc499a0d07fe822d533f76dc36c125cfd2c2 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add problem 18 link
4c63796e42b6a10683da65450d39602a8ed8b918 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
4c63796e42b6a10683da65450d39602a8ed8b918 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Maximum Path Sum I
0341d5978228a4510748b9338b158b95917a9809 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
0341d5978228a4510748b9338b158b95917a9809 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Update README.md
ebaa5f8263999af6f550e210077ac43c3d6bcdca authored almost 8 years ago by Ankit Pokhrel <[email protected]>
ebaa5f8263999af6f550e210077ac43c3d6bcdca authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add binary search and ackerman
c1f30f9d5e3a215e4081fd7cd88626bc2d28e28f authored almost 8 years ago by Ankit Pokhrel <[email protected]>
c1f30f9d5e3a215e4081fd7cd88626bc2d28e28f authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Update README.md
c360f118e93b5daf41328c3af107e6697c9a1e19 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
c360f118e93b5daf41328c3af107e6697c9a1e19 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add linear search recursive
54c85050a03045c224c444109466bcb54798145f authored almost 8 years ago by Ankit Pokhrel <[email protected]>
54c85050a03045c224c444109466bcb54798145f authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add links to recursion
5c2e2f0fac5bab7fb889e3b88f3d1914088d4e89 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
5c2e2f0fac5bab7fb889e3b88f3d1914088d4e89 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add recursive programs
01cdb5bfd80bcd9c1cfea2e1457eb2db33605d50 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
01cdb5bfd80bcd9c1cfea2e1457eb2db33605d50 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Update README.md
e17cea09e9f748207b4b88e8306e96a0f15b2e3f authored almost 8 years ago by Ankit Pokhrel <[email protected]>
e17cea09e9f748207b4b88e8306e96a0f15b2e3f authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Update link
2cb4c49d973728ce4c321604f74f8ba413cdfa84 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
2cb4c49d973728ce4c321604f74f8ba413cdfa84 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Fix link
cd77caeab2bfa1919a1d700c02da1c7b1d79aa30 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
cd77caeab2bfa1919a1d700c02da1c7b1d79aa30 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add Math section
2a9de9b1b5bb624837d0542bb54421c830d151b3 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
2a9de9b1b5bb624837d0542bb54421c830d151b3 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add project eular problems link
20254343410295074be4e0b45bc282b842854388 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
20254343410295074be4e0b45bc282b842854388 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Separate project Eular problems
7770c801c75dc32b2415b7369a858cec7fb3d3bc authored almost 8 years ago by Ankit Pokhrel <[email protected]>
7770c801c75dc32b2415b7369a858cec7fb3d3bc authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Update README.md
647ad8480765dad807633af832e4ed28624a156c authored almost 8 years ago by Ankit Pokhrel <[email protected]>
647ad8480765dad807633af832e4ed28624a156c authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Update project name
691503ebd960d5ed6a9c7a8afdf87f9c47ff79ef authored almost 8 years ago by Ankit Pokhrel <[email protected]>
691503ebd960d5ed6a9c7a8afdf87f9c47ff79ef authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Minor refactor
bd9faf6c66a6b107936773d69d4e13a8c561b374 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
bd9faf6c66a6b107936773d69d4e13a8c561b374 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Fix typo
5373e3ded9b8dbbe05f8682958b54c70d87d9829 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
5373e3ded9b8dbbe05f8682958b54c70d87d9829 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Number to words and letters count
9795bdad2d7d5be534054e33a82b300f1b84f6e3 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
9795bdad2d7d5be534054e33a82b300f1b84f6e3 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Power digit sum
6f1b77ce520f2d39b48311c5341bde2dfc3a24e0 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
6f1b77ce520f2d39b48311c5341bde2dfc3a24e0 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Lattice paths
addc0c14287693f13bd68b5984dae1a047b1fae5 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
addc0c14287693f13bd68b5984dae1a047b1fae5 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add question link
eeed3fdc7998e3c679cca49c900792bc766c090b authored almost 8 years ago by Ankit Pokhrel <[email protected]>
eeed3fdc7998e3c679cca49c900792bc766c090b authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Longest Collatz sequence
cd44c355c86151b74d23ba29e4f29cff49228fb3 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
cd44c355c86151b74d23ba29e4f29cff49228fb3 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Large sum
0d0c64b823356d8b437bd2301242a50d2550af4c authored almost 8 years ago by Ankit Pokhrel <[email protected]>
0d0c64b823356d8b437bd2301242a50d2550af4c authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Highly divisible triangular number
ea5c3f08760b2e32da17322c96e5a66d57fa0690 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
ea5c3f08760b2e32da17322c96e5a66d57fa0690 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Minor comment fix
a4b84ed017bd0460621fef75bae8c5fc54b49491 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
a4b84ed017bd0460621fef75bae8c5fc54b49491 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Largest product in a grid
7205a560dd481c2fd417313927ef100aa362a777 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
7205a560dd481c2fd417313927ef100aa362a777 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Product of pythagorean triplet
898f535d987d15af45441bdeac89d047e16b6ce3 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
898f535d987d15af45441bdeac89d047e16b6ce3 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Largest product in a series
0f90817924d3e52c125643ba57ad6f912558504a authored almost 8 years ago by Ankit Pokhrel <[email protected]>
0f90817924d3e52c125643ba57ad6f912558504a authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Sum square difference
c498380e8797ef68743362f440c08d482f4f8b17 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
c498380e8797ef68743362f440c08d482f4f8b17 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Add efficient way to calculate smallest multiple
count[i] = floor( log(num) / log(primes[i]) )
4276412eccf66c0597482fd325331c1379df6fa1 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Smallest evenly divisible multiple of a number
0a80c776649c619d49f12933ce6a11b2aef09499 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
0a80c776649c619d49f12933ce6a11b2aef09499 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Fix docblock
b08ccc91053002655993ae015731ad02a0de9f6b authored almost 8 years ago by Ankit Pokhrel <[email protected]>
b08ccc91053002655993ae015731ad02a0de9f6b authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Palindrome and largest palindrome of products
891c22c7d087d4460a72f3e1471f18afe25183db authored almost 8 years ago by Ankit Pokhrel <[email protected]>
891c22c7d087d4460a72f3e1471f18afe25183db authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Fibonacci series
ba1c825017221aed225cd1492a89a217574ba521 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
ba1c825017221aed225cd1492a89a217574ba521 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Sum of all multiples of 3 and 5 below 1000
714e97d0ca9755d8fe2a491ce50c2436c9f56bbb authored almost 8 years ago by Ankit Pokhrel <[email protected]>
714e97d0ca9755d8fe2a491ce50c2436c9f56bbb authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Refactor prime factor
9bc580c6dd0a503fe53f65a076c0b946cf59e1e5 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
9bc580c6dd0a503fe53f65a076c0b946cf59e1e5 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Remove unused include
a5df06bc329baf537137b5900defcc9db9878580 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
a5df06bc329baf537137b5900defcc9db9878580 authored almost 8 years ago by Ankit Pokhrel <[email protected]>
Euclid's GCD
29e9436d79143a62d218210d12e1445bf22fde75 authored about 8 years ago by Ankit Pokhrel <[email protected]>
29e9436d79143a62d218210d12e1445bf22fde75 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Greatest common divisor
06da486fec4350a79f5315d1baf9bc861ecd7043 authored about 8 years ago by Ankit Pokhrel <[email protected]>
06da486fec4350a79f5315d1baf9bc861ecd7043 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Common factors
0d0d2dc2ac11f2a24b44ea97d19450c2d7a11617 authored about 8 years ago by Ankit Pokhrel <[email protected]>
0d0d2dc2ac11f2a24b44ea97d19450c2d7a11617 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Prime factors
aabeac97046fc40422df52ed09e2d7435c166390 authored about 8 years ago by Ankit Pokhrel <[email protected]>
aabeac97046fc40422df52ed09e2d7435c166390 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Find factors of a given number
fe161116631dfff7d62d5d97febdea0fdc244142 authored about 8 years ago by Ankit Pokhrel <[email protected]>
fe161116631dfff7d62d5d97febdea0fdc244142 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Sieve of eratosthenes
4463849afaf664a7d0f72bddfef5935c41f4782d authored about 8 years ago by Ankit Pokhrel <[email protected]>
4463849afaf664a7d0f72bddfef5935c41f4782d authored about 8 years ago by Ankit Pokhrel <[email protected]>
Binary search tree
46308322eba1786c5d1f0bfed0654612264d0109 authored about 8 years ago by Ankit Pokhrel <[email protected]>
46308322eba1786c5d1f0bfed0654612264d0109 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Add linked list
292e984b53d4be5b9a6a791f541a8b14143bb1b5 authored about 8 years ago by Ankit Pokhrel <[email protected]>
292e984b53d4be5b9a6a791f541a8b14143bb1b5 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Search and sort algorithms
e243dbbf21fc565da35f36df428e641643d0dc69 authored about 8 years ago by Ankit Pokhrel <[email protected]>
e243dbbf21fc565da35f36df428e641643d0dc69 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Add .gitignore
81731ecdb1d0e435bd1cb1958813e72041299798 authored about 8 years ago by Ankit Pokhrel <[email protected]>
81731ecdb1d0e435bd1cb1958813e72041299798 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Add readme
7e25ad9c36689f5d57bf1c232c86cf83738d90a7 authored about 8 years ago by Ankit Pokhrel <[email protected]>
7e25ad9c36689f5d57bf1c232c86cf83738d90a7 authored about 8 years ago by Ankit Pokhrel <[email protected]>
Initial commit
07533b82f80b1a2481a81f21e0426e98b097d6a1 authored about 8 years ago by Ankit Pokhrel <[email protected]>
07533b82f80b1a2481a81f21e0426e98b097d6a1 authored about 8 years ago by Ankit Pokhrel <[email protected]>