Write a function that will return same output as diag(spiral(n)). The only exception is that spiral and diag functions are not allowed in your function. Also, loops are not allowed.
7678 Solvers
162 Solvers
214 Solvers
Determine the number of odd integers in a vector
321 Solvers
94 Solvers
Solution 475843
This really violates the spirit of the problem.
I know... :-p
it was quick and dirty. I will come again to solve it right. ;-)