Hash Tables: Ransom Note

  • + 0 comments

    eg.

    ** two times three is not four

    two times two is four** by your logic for the first "two" it will count++ & for second "two" it will again do count++ so at the end it will say yes as every element is there but in magazine "two" is only once wrong answer.