Skip to content

Conversation

@honeyranjan1
Copy link

Enhanced the logic for detecting circular primes by:

  • Using the Sieve of Eratosthenes for efficient prime number generation.
  • Optimized rotation handling with std::rotate for clarity and efficiency.
  • Simplified main loop to focus on checking circular primes.

Enhanced the logic for detecting circular primes by:
- Using the Sieve of Eratosthenes for efficient prime number generation.
- Optimized rotation handling with `std::rotate` for clarity and efficiency.
- Simplified main loop to focus on checking circular primes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant