OpenGenus/cosmos

Set matrix zero

Open

#6447 aperta il 2 ott 2022

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C++ (3724 fork)batch import
Hacktoberfest

Metriche repository

Star
 (13.462 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details: Given a matrix, A of size M x N of 0s and 1s. If an element is 0, set its entire row and column to 0.

Guida contributor