โ† Opera questions

Design island bridge tracking system to find the newest bridge on a path

Filed under Opera

The question

Given initially disconnected islands, support two operations: Build(A, B) which adds a bridge between islands A and B, and Bridge(A, B) which outputs the newest bridge among all possible paths from island A to island B.

No write-up yet. Related questions below have one.

Related Opera questions

Collected from public candidate posts and coding forums. Updated Nov 2026.