Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Note that in your latest solution:
src/main/java/BraceChecker.java:7: error: cannot find symbol ...
appears when running your code (likely you forgot to import the corresponding library for that method or utility)Your
while
loop does not have any statements to execute. (Note that one line of code will not do anything)The final conditional checking in the
return
statement is wrongThere's something wrong with your loop condition. Try to find what it is.
Try your code with that input in Pythontutor
Your problem is probably related at mutating the list you're iterating through.