The Home Depot interview question

group interview code unscrambling and pseudocode