Hack On with Amazon
4270

this question was asked im Amazon Hackon Season 3
i tried this question on recent contest and i started by finding the maximum element and then finding its distance from 0th and last index and then divide by length of subarray but still one case was not passing can someone write its code please i will be grateful image

Comments (6)