Mercurial > louis > peeves
view arrays/crosses/question.rst @ 0:20fea762903e
Import some exercises and solutions
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Sat, 29 Jun 2013 19:30:31 -0700 |
parents | |
children |
line wrap: on
line source
“Draw” Crosses in a Matrix ========================== Write an algorithm such that if an element in an MxN matrix is 0 is entire row and column is set to 0. .. note:: I actually didn't get this during an interview but it seems to be a classic.