How can i input adjacency list in this ques a 2d matrix is given

https://practice.geeksforgeeks.org/problems/eulerian-path-in-an-undirected-graph/0/?category[]=Graph&page=1&query=category[]Graphpage1#

in the matrix where you have 1
suppose at mat(i,j ) ==1 then join i to j
adj[i].push_back(j);

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.