Lumos interview question

Implement functions and design a data storage structure to update and filter items given a data structure and input they specify.