Smatchcube's website 🌍


Exercise 3.17

I rewrite count-pairs keeping a list of already counted pairs: