An interview problem On permutattions
Разница между en1 и en2, 3 символ(ов) изменены
We have to count the numbers up to N(N can be up to 10^17) such that the digits from the smallest possible permutation ↵
for 
Eexample if I take N=13 then the answer would be 12 since 10 is not the smallest ↵
permutation of the digits '0' and '1'. 

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский himanshu1212 2021-04-05 16:35:49 3 Tiny change: 'ion \nfor Example if ' -> 'ion \nfor example if '
en1 Английский himanshu1212 2021-04-05 16:35:25 283 Initial revision (published)