day10, example last
This commit is contained in:
@@ -157,3 +157,12 @@ and some elements take off?
|
||||
** ok, one more attempt?
|
||||
not counting, but maintaining a stack?
|
||||
and opposite angles take the element off the stack?
|
||||
|
||||
so - takes off -
|
||||
and any left braket takes off any right bracket
|
||||
|
||||
and two bottom angles shouldn't be allowed to counteract one another, but top & bottom should be balanced anyway
|
||||
** uh. so many more updates.
|
||||
and i'll need to owerwrite S to it's value somehow
|
||||
|
||||
i will change the S myself. by hardcode
|
||||
|
||||
Reference in New Issue
Block a user