Consider the set s consisting of non negative powers of three s={1,3,9,27,}. Consider the sequence of all subsets of s ordered by the value of the sum of their elements. Now his teacher gave him q queries each consisting of a single element n. For each query sahil has to find the subset at the nth position in the sequence and output it in increasing order of it's elements.
Answers
Answered by
0
Answer:
ffun him. Devin chum chum again by I'm him
Similar questions
India Languages,
6 months ago
English,
6 months ago
Hindi,
6 months ago
Political Science,
1 year ago
History,
1 year ago
Math,
1 year ago