Juan is creating a program to schedule people to teach classes at the local fitness center. He is scheduling people starting with those that have the greatest availability. Which type of algorithm is he most likely using?

machine learning algorithm
linear programming algorithm
graphing algorithm
greedy algorithm

greedy algorithm