I hereby claim:
- I am divyakali on github.
- I am dranga (https://keybase.io/dranga) on keybase.
- I have a public key ASC7SdjOyTSm8BP8DNCDQfq-XXckdGwGLWaChQkOSq_e-go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import java.util.HashMap; | |
public class Isomorphism { | |
/** | |
* Checks if two strings are isomorphic | |
*/ | |
public static boolean isIsomorphic(String source, String target) { | |
if (source == null || target == null) |
public class GraphNode{ | |
int vertex; | |
ArrayList<Integer> edges = new ArrayList<Integer>(); | |
public GraphNode(int vertex,ArrayList<Integer> edges){ | |
this.vertex = vertex; | |
this.edges = edges; | |
} | |
public ArrayList<Integer> getEdges(){return edges;} | |
public String toString(){ |