Hackerrank Combinatorics Problem: Digit Products

Revision en1, by Tobby_And_Friends, 2016-10-24 02:37:08

Problem link: https://www.hackerrank.com/challenges/digit-products

My solution: http://ideone.com/wXDPi3

I got a verdict of TLE. How can I optimize my code further? Any help is really appreciated.

Tags hackerrank, counting, combinatorics

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Tobby_And_Friends 2016-10-24 02:37:08 250 Initial revision (published)