Given word : TOMATO
Total letters =6 (2T′s+2O′s+1M′s+1A′s)
Total different letters =4
Case (1): When all 4 letters are different
Number of ways =4C4⋅4!=24
Case (2): When 2 letters are alike (either 2T′s or 2O′s) and 2 different letter
Number of ways =2C1⋅3C2⋅4!2!=72
Case (3): When 2T′s and 2O′s are taken
Number of ways =2C2⋅4!2!⋅2!=6
∴ Total required words =24+72+6=102