Draft

Maze

Description:

Given an Maze constructor with parameters: start coordinates, end coordinates, maze size and maze array, and a function to return path length.

Maze array only contains 0 and 1 values.

0 - Wall (cannot walk on), 1 - Path

Maze array wont be null.

Maze Array example.
0001000
0111110
0111110
0000011

Find the length of path and return it, if theres no way to reach end point return -1.

P.S This is my first kata. Dont judge -_-, Appreciate for the feedback!

Fundamentals
Algorithms
Puzzles

Similar Kata:

Stats:

CreatedSep 6, 2015
Warriors Trained221
Total Skips46
Total Code Submissions74
Total Times Completed15
C# Completions15
Total Stars6
% of votes with a positive feedback rating75% of 12
Total "Very Satisfied" Votes8
Total "Somewhat Satisfied" Votes2
Total "Not Satisfied" Votes2
Total Rank Assessments7
Average Assessed Rank
5 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
6 kyu
Ad
Contributors
  • Vortus Avatar
Ad