How to check the strings contains same characters in scala? -
I want to see the strings in the same characters, for example my strings are:
BCE CE should serve me as a result, BEC = BCE // True ECB = BCE / True CEB = BCE / / True CBE = BCE / True EBC = BCE // true CE = EC // true
strings Can be converted into the archives inherently, and in the collection a toSet Is the method that sets the content one, and the identity is independent of the set
Comments
Post a Comment