Hello Rust community! this is my first workable Rust program. I googled way too many things and through trial and error reached this solution and it feels like I could've done this in simpler ways. Please tell me how can I improve this problem (Leetcode link)
Problem description
given a 2D vector [[1,2,3],[3,5,1]] I'd have to separately sum the vectors inside the 2D one and find out largest sum among them. I'm probably butchering the problem please pardon my English deficiency, have a look at Leetcode link.