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

what is woransient key word? how it is used in java

0 Answers   Convergys,


what is page hit in operating system?

5 Answers   TCS,


how to convert the data from HTML file to SAS dataset?

0 Answers   Accenture,


why we use abstract in awt?

0 Answers  


What is the output of the following x = "abcdef" i = "a" for i in x: print(i), a) no output b) i i i i i i … c) a a a a a a … d) a b c d e f

0 Answers   Peerless,






What is the best action a system can take when deadlock is detected

2 Answers  


what is the difference between an application and service??? i mean service which runs as in services.msc.

2 Answers  


Indentify the essential difference between GUI and a command line operating systems?

1 Answers   Deloitte, Infosys, Wipro,


what is mutex?

4 Answers   Axiom, Blue Star, SQL Star,


In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?

0 Answers  


How Many versions are there in crystal reports

2 Answers   Wipro,


what is database?how to tell 3years boy or girl by using toys?

1 Answers  


Categories