10 10 2 4 45 20 10 10 2 4 45 20 True Found 10 next to a 10 Checking array contains an element 10 next to 10 oran element 20 next to 20, but not both w3resource.com