Efficient algorithms for densest subgraph discovery | Synapse