Solution 1: accepted 6%
Brute force with low efficiency.
Q: How to add a new digit at the beginning of an array efficiently?
|
|
Solution 2: accepted
No array manipulation.
|
|
Brute force with low efficiency.
Q: How to add a new digit at the beginning of an array efficiently?
|
|
No array manipulation.
|
|