Brace Expansion II
Parse nested brace expressions recursively, combining comma-separated groups by union and adjacent groups by Cartesian-product concatenation, then return the distinct words in sorted order.
Parse nested brace expressions recursively, combining comma-separated groups by union and adjacent groups by Cartesian-product concatenation, then return the distinct words in sorted order.