How abdulrahmanalkhawwam/dsa-2-project works
Project type and purpose
• This is a monolithic, desktop‐based Java application (no web or microservices), organized as a set of algorithmic exercises (“First_Question”, “Second_Question”, “Form3”, “Form4and5”, “Form6”) that provide:
• GUI screens for user input and visualization (Swing-style classes under each “screens” or “inoutputRec” folder)
• Core algorithm implementations (under each “algorithm” folder)
• File I/O modules to import/export data (under each “files” or “inoutputRec” folder)
• There are multiple entry points (Main.java in root, First_Question, Second_Question, Form3, Form4and5 packages).
File structure
• Top-level packages under src:
• First_Question – question 1 logic
• Second_Question – question 2 logic
• Form3, Form4and5, Form6 – standalone exercise modules
• algo – shared model classes (Rectangle, TreeNode)
• Each question folder contains three logical subpackages: algorithm (business logic), files (data access), screens (presentation layer).
• There are Java Main classes at different levels serving as application entry points.
• No external config or build scripts are present, implying an IDE-centric build (e.g., IntelliJ).
Available documentation
• The README is empty; rely on naming conventions and package structure to infer layering (UI → Logic → Data).
Elements
• UI → Logic (invoke compute methods)
• Logic → Models (instantiate Rectangle, TreeNode)
• UI/Logic → Data (read/write calls)
• EntryPoint → UI (application start)
• Yellow for Shared Models
• Orange for File I/O
• Diamonds or circles for Entry Points