C # implementation to find the permutation of the array such that sum of adjacent elements is not divisible by 3
using System ; using System . Collections . Generic ; class GFG { static readonly int hell = 1000000007 ; static readonly int N = 100005 ; static int c_0 , c_1 , c_2 ;