Brigit interview question

Design credit score order system