Comment

ëRiC

I'd say "To prove that it's new:"! Btw: when mutating the list with `combined.insert(0, 100)` I get `[100, 123, 503, 1001, 45, 812, *332*]`

And isn't it "if you *want* to filter out duplicates", right?

Some good pieces! 👍

Replies

Peter Bengtsson

I updated the sample to reflect that bug. See comment from Phil below. Thank you you too for noticing!

Also, I corrected the typo with "want" on the topic of filtering out duplicates.