BA 2817 then VY 7617 at Gatwick
Algiers → London → Barcelona
Timetable, London time
17:10BA 2817 from Algiers at the gate
16:25VY 7617 to Barcelona leaves the gate
23 h 15 apart on the timetable, overnight
VY 7617 leaves 23 h 15 after BA 2817 arrives on the timetable: more than half a day, so not a connection we count.