Algorithms
Last updated
Last updated
Greedy algorithms basically check the entire input and doesn't care to try reducing it.
Ex.:
Split your input into chunks, analyse it then re-split it and on and on... to hopefully solve things faster.
Ex.: Recursion or
Resolve something by breaking down the problem and re-looking at it until you reach a base case.
Recursive functions can be broken down in three sections: