Paint a boolean matrix leetcode. The two arrays contain integers from 1 to k.

Lawn Fungus