Generating Subsets of Integer Arrays

# Introduction In this challenge, our goal is to generate all possible subsets (the power set) of an integer array. To accomplish this, we must create a function named `subsets` that takes an array `nums` as input and returns all of its possible subsets, without any duplicates.

|60 : 00

Click the virtual machine below to start practicing