BA 2721 then U2 847 at Gatwick
Dubrovnik → London → Inverness
Timetable, London time
13:05BA 2721 from Dubrovnik at the gate
12:35U2 847 to Inverness leaves the gate
23 h 30 apart on the timetable, overnight
U2 847 leaves 23 h 30 after BA 2721 arrives on the timetable: more than half a day, so not a connection we count.