Starting with the identity matrix, change first and last diagonal element to zero.
Example
If n=5
A = 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0
1529 Solvers
1313 Solvers
Increment a number, given its digits
506 Solvers
Change the sign of even index entries of the reversed vector
214 Solvers
301 Solvers
Problem Tags