---
title: "Discussion on \"78. Subsets\" | Hashnode"
description: "Discussion on \"78. Subsets\". Generate all unique subsets from an integer array using a recursive approach. Time complexity: O(2^n), Space complexity: O(n)"
url: "https://hashnode.com/posts/78-subsets/6641fb7a4664bede70290324"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [78\. Subsets](https://outlierchronicles.hashnode.dev/78-subsets?utm_source=hashnode&utm_medium=feed)

Generate all unique subsets from an integer array using a recursive approach. Time complexity: O(2^n), Space complexity: O(n)

May 13, 2024 · 3 min read · outlierchronicles.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#recursion](https://hashnode.com/tag/recursion)
-   [#dsa](https://hashnode.com/tag/dsa)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#python3](https://hashnode.com/tag/python3)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Umang Srivastava](https://hashnode.com/@maverick6912)

@maverick6912 · India

  
[View profile](https://hashnode.com/@maverick6912)

I'm Umang Srivastava, a Full Stack Developer 🚀 from India, currently, I'm working as a Software Development Engineer at CSG Systems International. I love to explore new and upcoming technologies. Besides programming, I enjoy gaming, Formula 1 and making new tools with code.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
