grasping (Greedy)
Grasping, often referred to as the Greedy approach, is a problem-solving strategy that makes the best immediate choice at each step with the hope of finding a global optimum. This method is commonly used in optimization problems, where the goal is to maximize or minimize a certain value.
In a Greedy algorithm, decisions are made based solely on the current situation without considering the broader context. While this approach can lead to quick solutions, it does not always guarantee the best overall outcome, as it may overlook better options that require more complex decision-making.