Two Hat Security Interview Question

One coding question relying on dictionary data structures