Matrix

CF

Flip Count – Matrix

The program must accept a matrix of size NxN as the input. The matrix contains only 0’s and 1’s. The program must transpose the…
PythonF

Swap Integers Matrix Border

The program must accept an integer matrix of size R*C and two integers X, Y as the input. The program must find the Xth integer and the Yth in…
PythonF

Rotate Matrix by X Degrees

The program must accept an integer matrix of size NxN and an integer X as the input.The program must rotate the matrix by X degrees in the…
CF

Matrix Unit Digit Swap

The program must accept an integer matrix of size R*C, where C is even and swap the unit digits of the elements in columns 1 and 2, then 3 and…