Absolute Permutation Hackerrank Solution Cpp Library