Can we make graph with two same nodes

sir , in this video Prateek bhaiya gives a small exercise to us. in that exercise they give us a graph.
that graph containing two nodes with same value.(node 9).
can we make a graph this kind of input ?

hi… there may be some typing error… its not possible to have 2 nodes having the same value in a particular graph…

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.