Ruby - String Operations
You have a list of names with extra spaces and mixed cases:
[" Alice", "bob ", "CHARLIE"]. Which Ruby code correctly returns a new list with all names trimmed and in uppercase?