diff --git a/headers/Problems/Problem35.hpp b/headers/Problems/Problem35.hpp index fca6d1d..039e6ac 100644 --- a/headers/Problems/Problem35.hpp +++ b/headers/Problems/Problem35.hpp @@ -39,7 +39,7 @@ private: std::vector primes; //The primes below MAX_NUM std::vector circularPrimes; //The circular primes below MAX_NUM //Functions - std::vector getRotations(std::string str); //This function returns a list of all rotations of a string passed to it + std::vector getRotations(std::string str); //Returns a list of all rotations of a string passed to it public: //Constructor Problem35(); diff --git a/src/Problems/Problem35.cpp b/src/Problems/Problem35.cpp index 045291b..4d23638 100644 --- a/src/Problems/Problem35.cpp +++ b/src/Problems/Problem35.cpp @@ -34,7 +34,7 @@ int Problem35::MAX_NUM = 999999; //Function -//This function returns a list of all rotations of a string passed to it +//Returns a list of all rotations of a string passed to it std::vector Problem35::getRotations(std::string str){ std::vector rotations; rotations.push_back(str); @@ -93,7 +93,7 @@ void Problem35::reset(){ circularPrimes.clear(); } //Gets -//Returns a string with the solutino to the problem +//Returns a string with the solution to the problem std::string Problem35::getResult(){ //If the problem hasn't been solved throw an exception if(!solved){