AbhiroopGhosh
A certain number of distinct digits are written on a piece of paper. Using all those digits, how many different numbers can be formed?
(1) If we omit the first and the last digit that was written on the paper, then the total numbers that can be formed using the remaining digits is 120.
(2) If we omit the last three digits that were written on the paper, then the total numbers that can be formed using the remaining digits is 24.
Poorly written question. So much left to imagination, and I would prefer such questions in PS rather than trying to make DS challenging in an awkward way.
A certain number of distinct digits are written on a piece of paper. - Are they written in some order or randomly??
(1) If we omit the first and the last digit that was written on the paper, then the total numbers that can be formed using the remaining digits is 120.
The same question - 'Are they written in some order or randomly?', Let me interpret it as the largest and the smallest are struck ( although it is not mentioned).
120 will come from using 5 digits as 5*4*3*2*1 = 120.
SO total digits are 5+2(struck ones) or 7.
If the above is true, it plays with digit 0. If 0 is not in the list, the answer will be 7*6*5*4*3*2*1 or 7!.
But if 0 is in the list we will have to subtract ways where 0 is in the driving seat => 7!-6!
(2) If we omit the last three digits that were written on the paper, then the total numbers that can be formed using the remaining digits is 24
Same as above.
24 will come from 4 digits as 4*3*2*1 = 24.
But the solution would again rotate around 0 as part of the list or not.
E, but may be you will not see something like this on actuals.