smartphone on laptop computer on top of brown wooden desk
Photo by Alexandru Acea on Unsplash

In a previous post, we talked about ways of checking whether 2 strings are anagrams using Counter() from the collections module.

In this article, we are going to mention another way of checking whether 2 strings are anagrams using sorted() method.

Continue reading