Swarms and Distributed Computing Dennis Shasha Swarm Intelligence -- examples Given two paths of different lengths, ants will discover the path of shortest length. Given…