Killjee and adjacent problem

Problem Name:
Killjee and adjacent problem
Site:HackerEarth
Links:
Tags:
Problem setters: