Keeping last n rows of a matrix in C++

Revision en1, by Nidz05, 2023-04-25 01:16:18

Hello, I was wondering if there is a way of keeping last n rows of a matrix efficiently in C++, for example for DP?

Tags dynamic programming, matrix, memory optimization

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Nidz05 2023-04-25 01:16:18 153 Initial revision (published)