Given a set. Write the pseudo code to get all the subsets
for the given set.

Eg. Input : {1,2}
Output : (),(1),(2),(1,2)


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

i need informatica certification dumps(S-powercenter 8 mapping designer)......plz fwd it to my mail id:gaya1989@yahoo.com

1 Answers  


Hi Guys, This is Rama, right now I am working as a Software Test Engineer in Gurgoan and I have over all 3 years of testing expoeriance. Right now I am looking for a change. Can any body help me out to find a job in south india. Thanks in Advance

0 Answers  


what is the difference between a namespace and assembly ?

4 Answers   Innominds, Polaris,


Write a shell program to test whether a given year is leap year or not ?

0 Answers   Patni,


how we define two jobs have same name??is it exist??

0 Answers   CTS,


How to print a name "ARCHANA" in any programming language

6 Answers   Value Labs,


how to convert hashmap to arraylist with iteration

0 Answers   DFD,


can we extend a class having only one parameterised constructor.Suggest the process to do it.

0 Answers   Zensar,


Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.

0 Answers   Amazon,


what is delegate and how works delegate and event.

0 Answers   NIIT,


What is a programming language?

1 Answers  


What are data structures?

1 Answers  


Categories