Procter & Gamble interview question

Online assessment that includes coding and patterns