C ++ implementation to find the permutation of the array such that sum of adjacent elements is not divisible by 3
#include <bits/stdc++.h> NEW_LINE using namespace std ; #define hell  1000000007 NEW_LINE #define N  100005