Keysight Technologies interview question

Lists and strings to modify.