Problems are within the folders.
1st, 2nd and 3rd problem passed.
4th didn't pass because my solution was too complex. Still uploaded here in case someone want to check it.
6th problem passed the test case, but not the other because it was too complex again.