code: public Map<V, Integer> outDegree() {
          Map<V, Integer> result = new HashMap<>();
          for (V vertex : neighbors.keySet()) {
              result.put(vertex, neighbors.get(vertex).size());
          }
  
          return result;
      }
docs: Report (as a Map) the out-degree (the number of tail ends adjacent to a vertex) of each vertex.