Pregunta de entrevista de Macquarie Group

Write a program such that when given an array it will output every subset. Given {1 2} {}{1}{2}{1 2}

Respuesta de la entrevista

Anónimo

19 nov 2019

Although I didn’t complete in the time given the solution required recursion.