LEARN EFFICIENT STRATEGIES FOR MAINTAINING A DYNAMIC ECOSYSTEM ADHERING TO THE ELIMINATION OF TREES