News
Both classes behave exactly the same whether the traditional if-then-else is used in conjunction with String.equals (Object) or the new switching on Strings is used.
Motivation Comparing strings in other programming languages is a trivial task. Built-in methods or packages can check for the equality of two inputs in one single call, e.g. String1.equals (String2) ...
Your task is to make these two strings equal to each other. You can swap any two characters that belong to different strings, which means: swap s1 [i] and s2 [j]. Return the minimum number of swaps ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results