Checking if two strings contain the same characters, not considering their frequencies
<p>I have two dictionary corresponding to character counts of two different strings. I want to check if they are made up of same characters or not, <strong>regardless of the frequencies of the characters.</strong> </p>

<hr>

<p>Say, I have two strings <code>caars</code> and <code>racs</code>
They are made up of same characters <code>a,c,r,s</code></p>

<hr>

<p>I know of <code>cmp</code> method to compare two dictionaries, which also compares both the key-value pairs. But I don't want to compare their values or counts. </p>

<hr>

<p>Just in case, you may ask, why do I have dict then for both the strings. Well, I do need them in some other part of the problem. So, why not use them.</p>

<hr>

<p>How can I do this in python quickly?</p>
