2 votes 2 votes How many strings of four decimal digits do not contain the same digit twice? Swati001 asked Aug 18, 2016 Swati001 473 views answer comment Share Follow See 1 comment See all 1 1 comment reply Swati001 commented Aug 18, 2016 reply Follow Share does 0000 to 0999also count as 4 decimal digits ? 0 votes 0 votes Please log in or register to add a comment.
Best answer 1 votes 1 votes The first digit may be any of the ten digits. The second may be any of the nine remaining. The third may be any of the eight not yet used. The fourth may be any of the seven not yet used. So, there are 10 × 9 × 8 × 7 = 5040 Prajwal Bhat answered Aug 18, 2016 • selected Aug 19, 2016 by Sanjay Sharma Prajwal Bhat comment Share Follow See all 2 Comments See all 2 2 Comments reply Swati001 commented Aug 18, 2016 reply Follow Share so we do consider 0 in the MSB place. Was getting a doubt in that 0 votes 0 votes Prajwal Bhat commented Aug 18, 2016 reply Follow Share Even i have doubt about that but in the question they just have mentioned "strings of four decimal digits do not contain the same digit twice" so i assumed they are not talking about a 4 digit number rather strings of 4 digits 2 votes 2 votes Please log in or register to add a comment.