Sunday, July 19, 2015

HackerRank::Algorithms::Warmup::Diagonal Difference

   For any I from 1 to N , the indexes of the first diagonal's elements are [I,I] and the second diagonal's elements will have the index [I, N-I] ( if numeration starts from 1).



No comments:

Post a Comment