Question d’entretien chez Axos Bank

Q: create an algorithm to bubble sort balances while removing bad records based on validation rules