![](../images/4_problem_solving_technique/3_recursion/recursion-cleaning/recursion-cleaning-min.png)
divideWork(numOfStudents, area) {
if (numOfStudents <= 1) {
clean();
}
else {
students = numOfStudents / 2;
area = area / 2;
divideWork (students, area);
divideWork(numOfStudents - students, area);
}
}
License
The images and resources in this website are free to use for educational purposes.
1. Right Click Image
2. Click "Save Image As"
2. Click "Save Image As"