作者pinkowa (pinkowa)
看板Tech_Job
標題Re: [請益] 今天去面試IC設計軟體工程師被打爆的題目
時間Fri Nov 22 16:12:56 2013
今天鼻塞,腦袋頓頓的, 之前上一篇有錯誤的地方請原諒我... 解題思路: 我們先建立起基本牌組. 共九組,一組六個. 一.{1,2,3,4,5,6} 二.{7,8,9,10,11,12} 以此類推... 三.{13,14,...,16} 四.{17, .... , 24} 五.{25,...,30} 六.{31,...,36} 七.{37,...,42} 八.{43,44,45,46,47,48} 但是... 九.{49,48,47,1,2,3} 接下來要把牌組間的漏網之魚抓起來... 牌組一,二之間的漏網之魚: 含一張對方的牌:6種 + 含兩張對方的牌:15種= 共21種 有七組牌組間的關係都是這樣... 牌組八,九之間的漏網之魚: 含一張對方的牌:4種 + 含兩張對方的牌:6種= 共10種 牌組九,一之間的漏網之魚: 含一張對方的牌:3種 + 含兩張對方的牌:3種= 共6種 我們把結論組合起來... 21種X7組 + 10種 + 6種 = 163種 ------------------------------------------- 如果有錯還請大力鞭打... 希望各位都能進理想的公司,拿優渥的薪水... ------------------------------------------- --
※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.70.66.29
※ 編輯: pinkowa 來自: 61.70.66.29 (11/22 16:13)This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
留言列表