Code
The highlighted line runs next. The pill shows the live values in the running call.
Cost
Work done so far, and how the three solutions compare
nums
Struck-through cells are skipped as duplicates
The highlighted line runs next. The pill shows the live values in the running call.
Work done so far, and how the three solutions compare
Struck-through cells are skipped as duplicates
Keyboard: ← → step, Space play or pause. 3 to 8 whole numbers between −50 and 50. The answer may come back in any order: Python and Java sets have no fixed order and the C++ set sorts its triplets, so the page lists them in the order they were found.