diucicd opened this issue 4 months ago · 0 comments
hello-algo/codes/rust/chapter_dynamic_programming/unbounded_knapsack.rs
Line 37 in 2cd2a94
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.