Priyesh, your solution seems to be correct, But my doubt is that total number of numbers are coming out to be 15625 and ur answer is 1405, Can there be such a large difference?????? Because only a few cases are neglected w.r.t to total numbers in this question. Only those cases are neglected which have every number only once. SO are there as many cases as 14220????? I don't think so.
The quality of a person's life is in direct proportion to their commitment to excellence, regardless of their chosen field of endeavor.
It is during our darkest moments that we must focus to see the light.
Check out my blog at:
http://tarinbansal.blogspot.com/
Posts:
Can marks really judge a student??
Some myths about Chemical Engineering.
(A must see for every student)