def compute_in_degrees(digraph):
    """ dict -> dict
    Takes a digraph represented as a dictionary, and returns a dictionary in 
    which the keys are the nodes and the values is the node's indegree value.
    """
    indegrees = {}
    for node in digraph:
        indegrees[node] = 0
    for node in digraph:
        for edge in digraph[node]:
            indegrees[edge] += 1

    return indegrees