Big Data - Machine Learning, Algorithms and Data Structures
little strokes fell great oaks.
Friday, March 16, 2018
LintCode 896. PrimeProduct - Weekly9
http://www.lintcode.com/en/problem/prime-product/
it's a tricky question if you are trying to if-else for 2 to 9 for-loops.
but we can simply use the DFS search.
Then eliminate duplication, and apply ordering.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment