Guidewire interview question

3rd writing multiple polyfils for array