Likeable arrays

Problem Name:
Likeable arrays
Site:HackerEarth
Links:
Tags:
Problem setters: