โ† Expedia questions
CodingEasyReported in a candidate post, Aug 2020

Count Primes

Filed under Expedia

Given an integer `n`, return the number of prime numbers that are strictly less than or equal to `n`.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Expedia questions

Collected from public candidate posts and coding forums. Updated Nov 2026.