Not only that, but the Golang example is full of errors. Parameter definitions don't have colons between name and type. The map for seen elements is declared as a, but later referenced to as m. The append instruction references uniques, which is undefined. The return statement also references uniques.
blibble|2 years ago
0xjnml|2 years ago
I can't check how it looked 15 hours ago.
Makes me wonder if it was manually corrected and is thus a fake example now.