H&M Interview Question

Programs on singleton, arrays and strings.