Note that there are some explanatory texts on larger screens.

plurals
  1. USCereal
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COSir, I'm not using the stack yet, I'll use it if the "Entrance" is VALID. The text has 3 entrances, and as you see I chose the first one which is invalid ... I have the original text and the original output text also, and what I wrote up there is the first part of the output, so it should match .... I have 2 other "Entrance points" but I only wanted to check if the part that I wrote is working on not. So the problem here is with filling the Matrix with the 1's and 0's ignoring the commas .. could you help me with that ?
      singulars
    2. COSir, this code is NOT finished yet, I have had other entrances that are valid and I should trace them to get the right path within the stack and push() and pop() functions... Point is, I wanted to test the code, giving it the first invalid coordinate "that lies on a border" and see if it works, then complete it and see when the "Entrance is Valid" then I use the stack with its functions.
      singulars
    3. COAbout the coordinate, I took into the account that they're 0-indexed, and actually the solution I'm given is right, it should be invalid. Yes, I didn't take the commas into the account, because the maze should be filled with integers only, 1's or 0's, so I tried to read "z" as to get integers and ignore commas. I'm quiet not sure about the way I filled the dynamic matrix, so if you have anyway you could help me with to fill it correctly, please tell me.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload