Amazon interview question

Foundation, Bubble Sort, SOLID, KISS, DRY