rahul_1234's blog

By rahul_1234, history, 3 years ago, In English

A matrix of size (m, n) is given, along with paint brush of size (x, y). The matrix contains few blocked cells, at which paint brush can't be applied. The task is to check if it is possible to paint submatrix of size (a, b) within (m, n) or not, ensuring the constraints.

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?