LeetCode 90: Subsets Ii — Step-by-Step Visual Trace
Medium — Backtracking | Array | Bit Manipulation
The Problem
Given an integer array that may contain duplicates, return all possible subsets (the power set) without duplicate subsets in the result.
Approach
Use backtracking to generate all subsets by...
blog.tracelit.dev1 min read