Project Euler 162 Hexadecimal numbers

This problem I thought about more than 2 hours.

My access was combination~!

and Finally got answer O(n^3)

16length ^ 3

Other people solved it O(n)

Comments

Popular posts from this blog

Project euler 169 found clue

Floyd-Warshall's algorithm