input: Write a function to convert a list of strings to camelCase and return a new list with the converted strings. The function should take a list of strings as input, convert each string to camelCase, and return a new list containing the converted strings. If the input list is empty, the function should return an empty list.
  assert convertToCamelCase(["this", "is", "an", "example"])=='ThisIsAnExample'
  assert convertToCamelCase(["hello", "world"])=='HelloWorld'
  assert convertToCamelCase(["a", "b", "c"])=='ABC'
  assert convertToCamelCase([])==''
  assert convertToCamelCase(["capital", "letters"])=='CapitalLetters'
output: def convertToCamelCase(strings):
      if not strings:
          return []
      result = []
      for s in strings:
          if result:
              result.append(s.capitalize())
          else:
              result.append(s.capitalize())
      return ''.join(result)