Diagnol Sum in Binary Tree

https://practice.geeksforgeeks.org/problems/diagonal-sum-in-binary-tree/1

@phantom Bhaiya I have used Hashmap to store the diagnol’s Sum.
But the Answer is coming wrong.