input: Write a function to convert a list of strings into camelCase and return a new list with the converted strings. The function should take a list of strings as input and return a single string in camelCase format. If the input list is empty, the function should return an empty string.
  assert convertToCamelCase(["this", "is", "an", "example"])=="ThisIsAnExample"
  assert convertToCamelCase(["hello", "world"])=="HelloWorld"
  assert convertToCamelCase(["a", "b", "c"])=="ABC"
  assert convertToCamelCase([])==""
output: def convertToCamelCase(strings):
      if not strings:
          return ""
      result = strings[0].capitalize()
      for s in strings[1:]:
          result += s.capitalize()
      return result