4 ms·
Except in your program you forget to count the number of 2's as well and take the minimum of these two numbers.
by wallstquant 10y ago
Except in your program you forget to count the number of 2's as well and take the minimum of these two numbers.
- wallstquant 10y agoWell. I suppose you're only solving n! So you're fine