Can we do this using static variable? but i m trying and its not working
which variable are u wanting to make static?? the count variable is already static
i want to make count static so that its value can be increased,but in code it is showing 0 after running…so can you figure out where i m doing wrong?? 
mam for 1 test case ,there is tle…so how can i resolve it??
Hi ,so in the hint video Prateek bhaiya has spoken about large input, like large size of board. And there is a chance that we encounter a TLE in that case
so simply
search N queen OEIS, there are no of ways that the queen can be placed, and only then can u pass all the test cases, basically u are hard coding the value. Thats was Prateek Bhaiya recommended in the video.
Could u now figure out the problem with the code , or do i help