Count Primes | LeetCode 204 | Theory + Python code (Sieve of Eratosthenes explained)

This video is a solution to LeetCode 204, Count Primes. I explain the question, go over the logic / theory behind solving the question and then solve it using Python. Sieve of Eratosthenes is explained to get the optimal solution to this question. Comment below if you have a better solution to this problem! Let me know if you have any feedback and don't forget to subscribe for more videos! Time stamps: 0:00 Question explained 0:50 Brute force explained 3:03 Brute force python code 3:46 Sieve of Eratosthenes explained 13:44 Sieve of Eratosthenes python code More leetcode questions solved:    • Add and Search Word - Data structure desig...