Leetcode Subsets Time Complexity Of Bfs In Python