private void printPath(Set<Vertex<Integer>> visited,Vertex<Integer> destination,Vertex<Integer> current){
        if(visited.contains(current)){
            return;
        }
        if(destination.equals(current)){
            for(Vertex<Integer> v : visited){
                System.out.print(v.id + " ");
            }
            System.out.println(destination.id);
            return;
        }
        
        visited.add(current);
        for(Vertex<Integer> child : current.getAdjacentVertexes()){
            printPath(visited,destination,child);
        }
        visited.remove(current);
    }
http://www.careercup.com/question?id=5922416572235776
Test case
Source or destination vertex does not exist in the graph
There is no path between src to dest vertex
src/com/interview/graph/PrintAllPathFromSourceToDestination.java