Check Subarray With Sum Zero

Can you please share the code for this problem where we use ‘unordered_map’ instead of ‘unordered_set’

@anuragdeol2017
Coding Blocks IDE
logic is same check if a number with same sum repeats and also check if 0 comes or not