code: def longest_common_prefix_v2(strs):
      if not strs:
          return ""
      for i in range(len(strs[0])):
          for string in strs[1:]:
              if i == len(string) or string[i] != strs[0][i]:
                  return strs[0][0:i]
      return strs[0]
  
label_desc: Use image node_id 3 for calling a global function with example usage: longest_common_prefix_v2(strs) and returns: strs, str, strs