avatar
One interview question# JobHunting - 待字闺中
w*f
1
5 'A'
4 'B'
3 'C'
Q: how many unique 5-letter words can be formed?
It took me long time to thinks, but interviewer didn't happy with my
final answer.
If all 5 'A', 'B', 'C', the combination is 3^5 = 243;
missing 5'B', 1
missing 5'C', 1
missing (A/B) 4C, 10
total is 3^5 -1 -1 -10 = 231;
do I get it right (after interview)?
avatar
d*u
2
5 4 3 是神马?5个a?
avatar
s*r
3
我认为楼主的答案是对的。

【在 w****f 的大作中提到】
: 5 'A'
: 4 'B'
: 3 'C'
: Q: how many unique 5-letter words can be formed?
: It took me long time to thinks, but interviewer didn't happy with my
: final answer.
: If all 5 'A', 'B', 'C', the combination is 3^5 = 243;
: missing 5'B', 1
: missing 5'C', 1
: missing (A/B) 4C, 10

avatar
w*f
4
可惜在最后,
我只是 给出了 3^5 - 1 -1 -10
没有给出答案 是 231

【在 w****f 的大作中提到】
: 5 'A'
: 4 'B'
: 3 'C'
: Q: how many unique 5-letter words can be formed?
: It took me long time to thinks, but interviewer didn't happy with my
: final answer.
: If all 5 'A', 'B', 'C', the combination is 3^5 = 243;
: missing 5'B', 1
: missing 5'C', 1
: missing (A/B) 4C, 10

avatar
w*f
5
What is general formula for this unique letter?
Numerical try: 12! / (5!*4!*3!)/5! =231 , 数字巧合? 还是有规律?
Total permutation is 12!
duplicate : 5! * 4! * 3!
then what about last 5! ?

Another try: 12!/7! / (5!*4!*3!)/5! =5.5 failed.
avatar
l*8
6
巧合吧

【在 w****f 的大作中提到】
: What is general formula for this unique letter?
: Numerical try: 12! / (5!*4!*3!)/5! =231 , 数字巧合? 还是有规律?
: Total permutation is 12!
: duplicate : 5! * 4! * 3!
: then what about last 5! ?
:
: Another try: 12!/7! / (5!*4!*3!)/5! =5.5 failed.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。