A=B
Not enough ratings
Portal Maze
   
Award
Favorite
Favorited
Unfavorite
Tags: level
File Size
Posted
1.516 MB
14 Apr, 2022 @ 3:39pm
1 Change Note ( view )

Subscribe to download
Portal Maze

Description
Input: A string of the maze including
> exactly one "a" as your start;
> exactly one "b" as the goal;
> "_"s as floors you can walk on;
> "|"s as walls you can't pass;
> "h"s as hammers that allow you to break one wall per hammer;
> "p"s as portals that allow you to teleport from one to another.
Output: Return true if you can reach the "b" after starting from the "a", else return false.
Constraint: Input length = 7
Popular Discussions View All (1)
6
25 Apr, 2024 @ 11:23pm
This problem is so great!
SoMall-dumpling
2 Comments
garr890354839 22 Sep @ 4:55pm 
Took me 121 lines to solve... how on EARTH is 30 possible?
ymfact 21 Apr, 2022 @ 8:50am 
I did it!