Keyword: greedy.
Algorithm:
You don't need to know the name of each element needed.
Just scan through all firms and print the firm with the most requirements fit and the lowest price.
Code:
全站熱搜
Keyword: greedy.
Algorithm:
You don't need to know the name of each element needed.
Just scan through all firms and print the firm with the most requirements fit and the lowest price.
Code: