Adjacency Lists:

u -> t -> y
t -> w -> x -> u
v -> r
s -> r -> w
x -> w -> t -> y
r -> s -> v
y -> x -> u
w -> s -> x -> t

The breadth-first path from s to y:

s

w

x

y

The depth-first path from s to y:

s

w

t

u

y