athenahealth interview question

array question to slice and rearrange type