egonSchiele / grokking_algorithms

Code for the book Grokking Algorithms (https://amzn.to/29rVyHf)
Other
11.73k stars 3.8k forks source link

square brackets fix #263

Closed enourmo closed 1 year ago

enourmo commented 1 year ago

We don't need to use those brackets because the "concat" method accepts different types, not only array. Also I think we should use a for loop and compare the values in it instead of filtering values twice, but maybe that would be more understandable so I didn't change it.

egonSchiele commented 1 year ago

Thanks!