TheAlgorithms/Java ? reverse-engineered prompt
Reverse engineered prompt
Build me a Java project full of classic algorithms and data structure examples for learning.
I want it organized so it is easy to browse, run, and add to, with each algorithm in its own place and simple code that is easy to understand. Include things like searching, sorting, and other common algorithm examples, plus small tests or demo code so people can see how each one works. Keep the implementations educational and readable, even if they are not the absolute fastest version.
Please also set it up with the usual project files so it can be built cleanly, and make sure the code follows solid style and quality checks. Add clear documentation so someone new can find the algorithms list, understand what is already included, and know how to contribute new ones. If you need to, look up current Java and build tool docs online to make sure everything is set up correctly.
Are you gonna build this?
make sure you review the code using coderabbit