I am facing a problem in this topic

I have completed the entire course and i have revised it also but i have not done 2 topics yet graphs(imp) and tries.
I am finding them difficult to implement and play around with.How should i be approaching it?

first start with tries it is tree based data structure
and then go to graphs section

follow the videos give in the course content
watch video and then first try to code yourself
and if found difficulty check the video again
if you have any doubt feel free to ask here

after watching videos try the challenges also to master the topic

could you share with me the code written in the video.

Video Code

Topological Sort Code (another approach without class)