Design a map of string keys to integer values that can sum values by prefix.
insert(key, value)stores the pair. If the key already exists, the old value is overwritten, not added to.sum(prefix)returns the total of the values of every key starting withprefix.
Implement mapSum(operations) where operations is a list of [op, ...args]: ["insert", key, value] and ["sum", prefix]. Return one result per operation - null for insert, the total for sum.