Deviopath › Go

Contains

Easy · Slices

Loop until you find target, then return true. If the loop finishes, it was not there.

Write Contains(items, target) that returns whether target appears in items.

Next: Largest in a Slice