7 kyu

Circular Primes

399 of 441Nmistrata

Description:

Based on Project Euler problem 35

A circular prime is a prime in which every circular permutation of that number is also prime. Circular permutations are created by rotating the digits of the number, for example: 197, 971, 719. One-digit primes are circular primes by definition.

Complete the function that dertermines if a number is a circular prime.

There are 100 random tests for numbers up to 10000.

Algorithms

Stats:

CreatedFeb 3, 2016
PublishedFeb 3, 2016
Warriors Trained924
Total Skips14
Total Code Submissions2398
Total Times Completed441
Python Completions399
Ruby Completions59
Total Stars11
% of votes with a positive feedback rating93% of 142
Total "Very Satisfied" Votes125
Total "Somewhat Satisfied" Votes15
Total "Not Satisfied" Votes2
Total Rank Assessments10
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • Nmistrata Avatar
  • anter69 Avatar
  • jamad Avatar
  • saudiGuy Avatar
Ad