Arrow Ep 8.9: Time Jump
If I understand correctly, Laurel & Dinah, are their twenty-something selves from the present somehow flung twenty years into the future.
Also why didn't they give William back his memories? He's been as critical to the adventures as Mia is.