DEV Community

Discussion on: Daily Challenge #250 - Last Digit of a Large Number

Collapse
 
qm3ster profile image
Mihail Malo

Why is the outer a unordered_map and not a vector?
It's consecutive?

Collapse
 
vidit1999 profile image
Vidit Sarkar

vector<vector<int>> can also be used. But I think it is a bit easier to understand the mapping this way