[D] What are the difference between these 2 algorithms?

Open in new window