Revolut Interview Question

Complexity of inserting element in a dictionary? escaping/unescaping closures