You are given two binary strings **A** and **B**. Recall that binary string is a non-empty sequence of characters where each character is either **‘0’** or **‘1’**.

This is a companion discussion topic for the original entry at https://toph.co/p/distinct-permutations