Using DONE_SET method to make algorithm faster
DONe_SET Algo
fix code
Using frozenset and dict
Code fix
remove unused line
Change the DONE_SET to done_set
Fix Code.
Clean up Code.
Better logic.
fix min_peak_time display
Merge pull request #2226 from RoyXue/faster_algo

Using DONE_SET method to make algorithm faster