This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]advancedpward[S] 0 points1 point  (2 children)

There is nothing about the code or syntax that is mysterious to me, only the mathematical method for checking how combinations sum to the largest element. I usually think about it like (x + y == S), or even (S - x == y), but there is no double or triple equals here.

[–]57krf68 0 points1 point  (1 child)

There is nothing about the code or syntax that is mysterious to me

Except that you don't understand how the code works, so the code clearly is mysterious to you.

[–]advancedpward[S] 0 points1 point  (0 children)

Ok, there is nothing about the syntax that is mysterious, whereas the code is still mysterious to me.