Exhaustive Search
Last updated
Last updated
This is the brute force algorithm. Exponential time guaranteed. Unless the question has the magic word "all", do not use exhaustive search.
Combinations
Order doesn't matter. Same element cannot be used twice
Permutations
Order does matter. Same element cannot be used twice
Wikipedia
Wikipedia
Wikipedia