Do as many problems as you like/can.
This is honor based, the answers to all of these can be found online. PLEASE don't look them up. That's no fun.
To submit your answers, please create a branch in git off of main. Part of this contest is getting you to create your own branch and understand the commit/pull request(PR) process.
That being said, we are a public repo. You will be able to see each other's branches. If you prefer to create your own repo so it's not visible to others, I'm fine with that and can help you do that. Or don't commit until near end of contest.
Contest ends on December 14th, 11:59pm ET.
It's easiest if you copy/paste the problems into your IDE of choice. I set it up for IntelliJ as Walton CS courses are using that IDE. The benefit of using IntelliJ is that I've set up unit tests that you can use to test your answers with.
Tips: Feel free to change any of the variable/init/return lines. Create any local variables that you need. Return from the method earlier if that makes sense. Feel free to create more unit tests if you like.
IntelliJ Setup: Install IntelliJ Idea(Community Edition) if you haven't already done so. On the IntelliJ Welcome page, select Clone Repository and enter this URL: https://github.com/WaltonRobotics/JavaContest2025.git You can either install the JDK I'm using or if you already have a JDK installed, switch over to use that JDK. Go into File->Project Structure if you'd like to do that. You'll also need to add JUnit if you want to use the unit testing that I setup. See this page for info: https://www.jetbrains.com/help/idea/junit.html#intellij
To run unit tests, right click on the test directory and select Run 'All Tests' If you get stuck, use the debugger.
Good Luck!!! If you have any questions, don't hesitate to ping me on slack or ask me at the build site when I'm there.