Nylas interview question

data cleaning and pattern generation