Groups
Bitset optimization exploits word-level parallelism so one CPU instruction processes 64 bits at once on typical 64-bit machines.
FloydโWarshall computes the shortest distances between all pairs of vertices in O(n^3) time using dynamic programming.