Timeline for What is the easiest and efficient way to get positive or negative combinations of a list?
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 24, 2021 at 7:04 | comment | added | user13892 |
Your GroupBy 's condition is correctly discarding things like {1,2,-1} which is ok since we can't have more than one 1 s but it is also incorrectly discarding {1,2,-2} which is not correct since the original list does allow for two 2 s.
|
|
Feb 24, 2021 at 3:56 | history | answered | cvgmt | CC BY-SA 4.0 |