This repository is a collection of algorithms grouped by data structure. Following the Geeks for Geeks course, some LeetCode exercises and the Introduction to Algorithms, Fourth Edition book.
The implementations are in Golang and C (extra challenge)
- Count digits
- Factorial
- Greatest Common Divisor & Least Common Multiple
- Palindrome number
- Sum of naturals
- Trailling zeros in factorial
- Check for prime
- Prime factor
- All divisors of a number
- Sieve of Eratosthenes
- Computing power
- Iterative power
- Reduce to zero