codefights turnsOnRoad


I divide into 4 side
right, top, left, bottom and finally check.



this is problem
https://codefights.com/challenge/7WzF2fGJA6nKaMbNR

Comments

Popular posts from this blog

Project euler 169 found clue

Floyd-Warshall's algorithm