Array Pairs Discussions | Data Structures | HackerRank
my code is generating wrong output by a huge margin, like in a multiple of 3 or sth. I tried executing it on my computer with hackerRank test cases it gives wrong output which means my logic is not correct.