code: def _split_full_names(full_names: List[str]) -> TreeDict:
      """Split the list of full names into a tree of nested dict."""
      root_tree = _tree_dict()
      for full_name in full_names:
          tree = root_tree
          for part in full_name.split("/"):
              tree = tree[
                  part
              ]  # `ds/config/version` -> tree[ds][config][version]
      return root_tree
  
file_path: datasets/tensorflow_datasets/scripts/cleanup/delete_old_versions.py
imports: import collections
  import concurrent.futures
  import dataclasses
  import os
  import pathlib
  from typing import Dict, Iterable, List, Tuple
  from absl import app
  from absl import flags
  import tensorflow_datasets
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import termcolor
label_desc: Use image node_id 2 for calling a global function with example usage: _split_full_names(full_names) and returns: root_tree