[LC] Added solution to subsets.