Day 15 (Continued)

Today, I learnt the concept behind the Sieve of Eratosthenes and tried a few applications of it like finding all the prime numbers between 1 and N

Then, I saw the inclusion-exclusion Principle and the Euclid Algorithm to find the GCD of two numbers A and B.

Leave a Reply

Create your own website, free on WordPress.com.Create your own website.
Start free