Question: Sum of degree of neighborhs

A function such that given a Graph G and vertex say v as input to a function

It should output the sum of the degrees of all the neighbors of that vertex v in that graph G 

 

Kind help thank you 

Please Wait...