//We are basically storing sum%k and storing it in the hashmap and checking it. //Math logic is that the overall sum will get cancelled out because of modulo ...