package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev
# README
90. Subsets II
Solution idea:
KEY:
-
Sort first so that same elements are grouped together
-
Pruning: before going into the branch of NOT adding the current element, skip all duplicated elements