Where is video explanation of N queen problem

I am unable to see the solution of the NQueens problem which was solved using Backtracking + Bitmasking (Most efiicient approach)

This was the solution for that question.

#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;

int ans = 0;
int done;

void solve(int rowmask, int ld, int rd)
{
if(rowmask == done)
{
ans++;
return;
}

int avail = done & (~(rowmask|ld|rd)) ;

while(avail > 0)
{
	int pp = avail & (-avail);
	avail = avail - pp;

	solve(rowmask|pp, (ld|pp)<<1, (rd|pp)>>1);

}

}

int main()
{
int n;
cin>>n;
done = (1<<n)-1;

solve(0,0,0);  //one for rpw asking , one for left diiagonal(ld),
//rd = for right diagonal
cout<<"total possible ways : "<<ans<<endl;

return 0;

}

Refer this video

That solution uses bitset. I am asking video solution using bitmasking. I have put the solution. That video was present earlier but now it is not present

That video was recorded by Prateek Bhaiya

I could not find a video on that. However i found a pdf https://minio.cb.lk/amoeba/9ba3c3f1-7866-4081-b625-5cafc4eabadd.nqueencodemdpdf
Please drop a mail at [email protected] and ask about the video.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.