message: Update parallel-courses-iii.py
diff: @@ -14,13 +14,8 @@ class Solution(object):
  for prev, nxt in relations:
  adj[prev-1].append(nxt-1)
  in_degree[nxt-1] += 1
  - q = []
  - dist = [0]*n
  - for u in xrange(n):
  - if in_degree[u]:
  - continue
  - q.append(u)
  - dist[u] = time[u]
  + q = [u for u in xrange(n) if not in_degree[u]]
  + dist = [time[u] if not in_degree[u] else 0 for u in xrange(n)]
  while q:
  new_q = []
  for u in q:
  