# Introduction In this lab, you need to write a function called `max_adjacent()` that takes an array of positive integers as input and returns a new array where each element is the maximum value of each pair of adjacent elements in the input array.
Click the virtual machine below to start practicing