Kongsberg Gruppen interview question

sorting an array static reverse of string duplicates in string interface/constructor