How to Write a function "partition" that takes a parameter "list" and a parameter "size" and returns a list of sub-list, whe | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to Write a function "partition" that takes a parameter "list" and a parameter "size" and returns a list of sub-list, whe

In java

3rd Nov 2019, 12:44 PM
Emmanuel Foka
Emmanuel Foka - avatar
2 Answers
0
That is pretty tough for a beginner but you should at least give it a try yourself first.
3rd Nov 2019, 1:19 PM
Thoq!
Thoq! - avatar
0
You give me the exact problem statement. I mean what type of list it is and what sub list is expected out of it, I will give it a try. But you give it a attempt first.
3rd Nov 2019, 2:06 PM
Avinesh
Avinesh - avatar