A comprehensive collection of 30+ programming challenges solved in Java 25. These exercises are part of the community roadmap created by Brais Moure (MoureDev), focused on strengthening logic, data structures, and Object-Oriented Programming (OOP) principles.
The goal of this repository is to demonstrate my evolution in problem-solving and my mastery of Java core concepts, ranging from basic syntax to advanced Design Patterns. All exercises are implemented as standalone classes for easy execution and study.
- OOP Fundamentals: Inheritance, Polymorphism, Abstraction, and Encapsulation.
- Design Patterns: Implementation of patterns like Decorator, Singleton, and Factory.
- Data Structures: Advanced usage of Collections, Maps, and Streams.
- Algorithm Efficiency: Logic optimization and clean code practices.
Each file (from EJ00 to EJ30) is a self-contained Java class. To ensure maximum compatibility, I have removed package declarations so they can be executed in any environment without configuration.
Featured Example: EJ24 - The Decorator Pattern
In this exercise, I explored the Decorator Pattern by:
- Creating a dynamic Coffee ordering system.
- Implementing a wrapper to extend functionality without modifying existing code.
- Using
abstractclasses andprotectedmembers to ensure a robust and scalable hierarchy.
Since these are standalone Java classes with a main method, you can run them directly using any IDE or via terminal without needing a complex project structure:
javac EJ24.java
java EJ24Un agradecimiento especial a Brais Moure (MoureDev) por proporcionar estos retos a la comunidad de desarrolladores. Puedes encontrar la hoja de ruta original y más información en retosdeprogramacion.com.