Connected Components – The one Graph Algorithm you need to know | Hacker News Reader