Again a task of which I don't even understand the conditions even after reading them numerous times...
Also, the task has nothing to do with properties.
How are we supposed to solve these tasks?? Just frustrating.
second task. Why they create a huge method if you can just call endsWith() method?
Justin SmithLevel 41, Greenfield, USA, United States
13 August 2022
The second one is a good task but the official solution is not very good. They make it much more complicated than it needs to be. You do not need File.separator. Just use String.endsWith to check if it is an XML file. My solution passed using 6 fewer lines than the official solution.
Justin SmithLevel 41, Greenfield, USA, United States
10 August 2022
Why is the Hard one worth less for completing than the Medium one? 😂
GO TO FULL VERSION