My output of second test case is also 2680 .I checked on eclipse.But in the coding block IDE itshows TLE
NQueensChallenge Problem
yes.use optimzed solution
My output of second test case is also 2680 .I checked on eclipse.But in the coding block IDE itshows TLE
yes.use optimzed solution