Answered You can hire a professional tutor to get the answer.
Complete the method called expandFrom(int r, int c) that recursively examines the image by traversing its pixels examining (i.
Complete the method called expandFrom(int r, int c) that recursively examines the image by traversing its pixels examining (i.e., "visiting") black pixels in all directions that are connected to a starting point black pixel (specified by the parameters). The idea is that this method will determine all black pixels that are connected to the starting pixel. (hints: when a white pixel is encountered during the recursion, this is an indication that you don't need to keep recursively checking in that direction. Also, you can mark any encountered black pixels as white so that you don't need to process them again). This method MUST be done recursively without loops,
private void expandFrom(int r, int c) { }