標題
※ 引述《yipi1357 ()》之銘言:
: 根據上面最佳解描述
: 第一顆蛋 測試樓層{14,27,39,50,60,69,78,85,91,96}
: 第二顆蛋 每次+1層 直到摔破
: 最多14次 簡單易懂
簡單的算式:
x + (x-1) + (x-2) + ... + 2 + 1 = 100
梯形公式(上底+下底)* 高 / 2
(x + 1) * x / 2 = 100
x = 13.65
13的話只能測到91樓
14的話可以測到105樓--
※ 發信站: 批踢踢實業坊(pttweb.tw), 來自: 211.75.221.136
※ 文章網址: https://pttweb.tw/Soft_Job/M.1397721716.A.8FF
Re: [討論] Google面試問題
(23/31篇)看板Soft_Job軟工板作者howdiun (Howdiun)推文3則 (2推 0噓 1→)※ 引述《yipi1357 ()》之銘言:
: 根據上面最佳解描述
: 第一顆蛋 測試樓層{14,27,39,50,60,69,78,85,91,96}
: 第二顆蛋 每次+1層 直到摔破
: 最多14次 簡單易懂
簡單的算式:
x + (x-1) + (x-2) + ... + 2 + 1 = 100
梯形公式(上底+下底)* 高 / 2
(x + 1) * x / 2 = 100
x = 13.65
13的話只能測到91樓
14的話可以測到105樓--
※ 發信站: 批踢踢實業坊(pttweb.tw), 來自: 211.75.221.136
※ 文章網址: https://pttweb.tw/Soft_Job/M.1397721716.A.8FF
同標題文章
- 18[討論] Google面試問題
- 8Fw: [討論] Google面試問題
- 17Fw: [討論] Google面試問題
- 1Re: [討論] Google面試問題
- Re: [討論] Google面試問題
- 7Re: [討論] Google面試問題
- 4Re: [討論] Google面試問題
- 8Re: [討論] Google面試問題
- 2Re: [討論] Google面試問題
- 3Re: [討論] Google面試問題
- Re: [討論] Google面試問題
- -2Re: [討論] Google面試問題
- 2Re: [討論] Google面試問題
- -4Re: [討論] Google面試問題
- 3Re: [討論] Google面試問題
- Re: [討論] Google面試問題
- Re: [討論] Google面試問題
- 1Re: [討論] Google面試問題
- 6Re: [討論] Google面試問題
- 4Re: [討論] Google面試問題
- 6Re: [討論] Google面試問題
- 1Re: [討論] Google面試問題
- 2Re: [討論] Google面試問題
- 1Re: [討論] Google面試問題
- 3Re: [討論] Google面試問題
- Re: [討論] Google面試問題
- 2Re: [討論] Google面試問題
- Re: [討論] Google面試問題
- 4Re: [討論] Google面試問題
- 4Re: [討論] Google面試問題
- 4Re: [討論] Google面試問題
相關文章
37
[心得] 2024 Google面試與刷題心得
11
[心得] Google 面試分享 - AI顧問
83
[心得] Google L4面試時程分享(最終失敗)
53
[心得] 2023 Google SWE Embedded面試分享
14
Re: [心得] Google L4面試時程分享(最終失敗)
10
Re: [心得] Google L4面試時程分享(最終失敗)
1
Re: [心得] Google L4面試時程分享(最終失敗)
28
Re: [心得] SUSE面試經驗
48
[心得] 2022 高雄面試
61
[心得] 2024各公司面試心得
Soft_Job熱門文章
81
[心得]2024 年中找工作經驗分享
73
[心得] 2024 web轉職末班車 面試心得
55
[心得] 2024 下半年 backend engineer 面試心得
52
[心得]非本科學士 德國求職全紀錄 - Data
45
[請益] 轉職後的徬徨
45
[討論] 國泰出這包不太行吧
40
[討論] 公司內部版控
33
Re: [討論] 公司內部版控
30
Re: [心得] 全端培訓轉職失敗心得
29
Re: [心得] 全端培訓轉職失敗心得