Skip to content

Isomorphic #3266

@xiangzi168

Description

@xiangzi168

other example:

String str1 = "abbbbaac";
String str2 = "kffffkkd";

for (int i = 0; i < s1.length() -1 ; i++) {
boolean b1 = s1.charAt(i) == s1.charAt(i + 1);
boolean b2 = s2.charAt(i) == s2.charAt(i + 1);
if (b1 != b2) {
System.out.println("false");
break;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions