How to find Contiguos Subarrays of an Array?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to find Contiguos Subarrays of an Array??

i need way to find all contiguos subarrays of an array.the total subarrays will n*(n+1)/2 for n size array but i want to know how to find them and store them(in arraylist,or set,map etc.)........answer in java

21st Jul 2017, 4:59 AM
Abhishek Gupta®
Abhishek Gupta® - avatar
7 Answers
+ 1
I tried to help you,at least say thank you
23rd Jul 2017, 5:47 PM
Gabrielle Cristine
Gabrielle Cristine - avatar
+ 1
It is related to the question,i wouldnt post something for nothing
24th Jul 2017, 3:05 PM
Gabrielle Cristine
Gabrielle Cristine - avatar
23rd Jul 2017, 10:27 AM
Gabrielle Cristine
Gabrielle Cristine - avatar
0
https://code.sololearn.com/cwS2Le2PqqwR/?ref=app
23rd Jul 2017, 10:27 AM
Gabrielle Cristine
Gabrielle Cristine - avatar
23rd Jul 2017, 10:28 AM
Gabrielle Cristine
Gabrielle Cristine - avatar
0
don't post irrelevant codes to the question
23rd Jul 2017, 4:58 PM
Abhishek Gupta®
Abhishek Gupta® - avatar
0
codes u posted don't have any relation with question so,please post off topic codes...and thanks for helping but only post if u know answer related to question if answer is incorrect but related to question than its ok....
24th Jul 2017, 7:12 AM
Abhishek Gupta®
Abhishek Gupta® - avatar