AlgoMaster Logo

Furthest Building You Can Reach

heights=[4, 2, 7, 6, 9, 14, 12],bricks=5,ladders=1
0 / 14
4021726394145126spend bricks on small climbs, save ladders for the big ones
algomaster.io
Step:Start: heights = [4, 2, 7, 6, 9, 14, 12], bricks = 5, ladders = 1