Graphs
115 / 170GraphsLesson 8 of 8About 58 min
Two problems rebuilt cold, plus the decisions that pick the approach.
Friendships are added one at a time, and after each addition you must report whether two specific people are now connected. Which approach fits best?
You have solved this one before. Rebuild it from scratch without looking at your old submission. If the approach does not come back within a few minutes, that is the signal that it needs another pass.
You have solved this one before. Rebuild it from scratch without looking at your old submission. If the approach does not come back within a few minutes, that is the signal that it needs another pass.