Given N (<=16) strings, you may permute each string's characters before inserting into a trie; find the minimum total number of trie nodes (including root).
Asked in the online_assessment stage.
Implement min_trie_nodes(strings). strings is a list of lowercase strings. Return an integer representing the minimum possible number of trie nodes, including the root. Each string must be used exactly once, and its characters may be reordered independently.
def min_trie_nodes(strings):