Timeline for Find all combinations of 4 elements whose sum equals a target in Python
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 12, 2018 at 2:21 | history | edited | Noah B. Johnson | CC BY-SA 4.0 |
fixed 3-number output problem
|
| Dec 12, 2018 at 1:15 | comment | added | Noah B. Johnson | You're absolutely right, maybe someone has a better solution. In the meantime, I'll brainstorm. | |
| Dec 11, 2018 at 16:03 | comment | added | A.Lee |
great information about using frozenset however, if it code correct? frozenset(i) will also filter the duplicated number? like i, target = (-5, 5, 0 ,0), 0 after frozenset(i) {-5,5 0} add into res?
|
|
| Dec 11, 2018 at 12:42 | comment | added | greybeard | (Never trust sub-second timing results without in-depth knowledge of and trust in the measurement mechanism. There are tools for micro-benchmarking.) | |
| Dec 11, 2018 at 6:45 | history | edited | Noah B. Johnson | CC BY-SA 4.0 |
fixed code error and changed example to real test case
|
| Dec 11, 2018 at 6:25 | review | First posts | |||
| Dec 11, 2018 at 13:30 | |||||
| Dec 11, 2018 at 6:21 | history | answered | Noah B. Johnson | CC BY-SA 4.0 |