repl.it
@scorphus/

ShortestReach

Bash

Solution for the Shortest Reach problem on HackerRank

fork
loading
Files
  • main.sh
  • input.txt
  • shortest_reach.exs
main.sh
1
2
3
4
5
6
7
8
9
# This file is part of https://pabloaguiar.me/post/breadth-first-search-in-elixir/

# Licensed under the BSD-3-Clause license:
# https://opensource.org/licenses/BSD-3-Clause
# Copyright (c) 2020, Pablo S. Blum de Aguiar <[email protected]>

# Click “Files” on the left toolbar to browse the files in this REPL

time elixir shortest_reach.exs < input.txt
Fetching token
?