Files
C_CPP_katas/Rotate for a Max/rotate_for_a_max.cpp
2019-11-09 23:51:57 +01:00

26 lines
565 B
C++

#include <vector>
class MaxRotate
{
public:
static long long maxRot(long long n);
static void getNums(long long input);
static long long getValueFromDigits(std::vector<int> &digits);
static void getNums(std::vector<int> &digits, long long input){
if (input > 9) {
getNums(digits, input / 10);
}
digits.push_back(input % 10);
}
static long long getValueFromDigits(std::vector<int> &digits){
for(auto &i : digits){
}
}
static long long maxRot(long long n){
}
};