Balanced brackets: Difference between revisions
Content added Content deleted
m (Fixed bug) |
|||
Line 3,960: | Line 3,960: | ||
-------------------- BALANCED BRACKETS ------------------- |
-------------------- BALANCED BRACKETS ------------------- |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
bracketProblemIndex :: String -> Maybe Int |
bracketProblemIndex :: String -> Maybe Int |
||
Line 3,970: | Line 3,978: | ||
| otherwise = Nothing |
| otherwise = Nothing |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
--------------------------- TEST ------------------------- |
--------------------------- TEST ------------------------- |