Design a concurrent hash map.
Implement a fixed-capacity, thread-safe hash map supporting put, increment, and delete. Operations within each batch run concurrently, and all threads must complete before the next batch begins. Return the final key-value mapping after processing every batch. increment must be atomic, including when multiple threads update the same key. Each operation is an object with op, key, and an optional value; keys are strings and values are integers.
run_concurrent_hash_map(batches) returns a dictionary. Operations on the same key within one batch are limited to increment, or the input must not depend on their relative ordering.
put, increment, or deletevalue is an integer for put and incrementdef run_concurrent_hash_map(batches):