N the video it is said that we have been taught the cycle detection using union find by rank algorithm but we havent been taught any such concept in graphs.Please upload some video regarding it

In the video it is said that we have been taught the cycle detection using union find by rank algorithm but we havent been taught any such concept in graphs.Please upload some video regarding it.

@pradyumn2006
It is very easy to understand topic. Try to learn it yourself.
After implementing disjoint set union, you just need to do the following:
for every edge (u,v) :
if(parent[u] == parent[v]) // cycle is found
else
union(u,v)
try to get the essence of the algorithm and do not rely on rot learning.

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.