How to find all possible sub-arrays of an Array?

0 votes
153 views
asked Aug 6, 2016 by Hitesh Garg (124 points)  

I have been trying to find out all the possible combinations i.e. sub-array of a given array. And how to find the number of such combinations for an array of size 'n'?
I am not able to figure out how to find all the permutations and how this works?

Please log in or register to answer this question.

Welcome to Codingeek Q&A, where you can ask questions and receive answers from other members of the community.
...