Question: How would I divide my array into three subarrays in java? I already know how to do divide it into two subarrays. Plus, I need
How would I divide my array into three subarrays in java? I already know how to do divide it into two subarrays. Plus, I need my code to stay similar to what I already have below. I think I just need help on the highlighted parts. How would I compare a third subarray in my while loop like I did for the first and second subarrays below it? Also, what would need to be changed in the first highlighted section?

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
