Grokking Dynamic Programming Patterns for Coding Interviews
Ask Author
Back to course home

0% completed

Vote For New Content
I think the python solution is not correct, it uses sum when it's a reserved key...

danielsadac

Oct 2, 2022

I think the python solution is not correct, it uses sum when it's a reserved keyword.

0

0

Comments
Comments
Design Gurus
Design Gurus3 years ago

Although we should not be using a reserve word, the solution should work.

We have updated the code to not use 'sum' as variable name.

On this page

Problem Statement

Try it yourself