Doubt in the video

At 13.11 min in line number 21, it should be map T,bool> and instead of map<T,int?

yes it should be bool
but if you use int then it also works as int can also hold 0 and 1

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.