# Mazes on a Cube Given by Six Views

Mazes on a Cube Given by Six Views

A maze is drawn on a cube and six views are given:

front | back |

left | right |

top | bottom |

Find the length of the shortest path from the black to the gray point without crossing any red barriers.