krahets/hello-algo

no op assignment in dp

diucicd opened this issue · 0 comments

image

when prev row and current row are just using the same vector, this is actually a noop operation, so this line can be ommited and I see this in other language as well. If you like I can make a pr to fix this.