Suppose the adjacency relation of vertices in a graph is represented in a table Adj(X,Y). Which of the following queries cannot be expressed by a relational algebra
expression of constant length ?
- AList all vertices adjacent to a given vertex.
- BList all vertices which have self loops
- CList all vertices which belong to cycles of less than three vertices
- DList all vertices reachable from a given vertex