Edenred interview question

Memory cache implement it in the code.