[請益] 如何準備Google SWE Interview: C++

看板Tech_Job作者 (I'm your father!)時間4年前 (2021/11/07 10:05), 4年前編輯推噓24(24038)
留言62則, 22人參與, 4年前最新討論串1/1
本魯一直都在用C(user space, driver), 自我感覺是蠻有信心的 但是, 對C++只有到能看code去debug其他module的基礎, 還沒有從頭到尾寫過一個完整的複雜的C++程式. Google hiring specialist也許看上我過去的某些經歷: multimedia, networking 主動約我, phone screen後, 給我一月的時間要我去熟悉C++後, 然後參加interview (該不會被做業績吧) 在這樣的狀況下... 有什麼準備C++的建議, 可以讓熟C的人短時間內抓住準備的重點 讓本魯在interview時不要讓場面太難看...QQ 麻煩各位大大鞭小力一點 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.240.164.238 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Tech_Job/M.1636250732.A.4B1.html

11/07 10:07, 4年前 , 1F
Google信裡面應該會提到考什麼
11/07 10:07, 1F
Google interviews focus very heavily on algorithms and data structures. You'll be expected to know and apply: lists, maps, stacks, priority queues, binary trees, graphs, bags, and sets. You'll need to talk about how they're implemented and why you'd choose one implementation or data structure instead of another. For algorithms you'll want to know greedy algorithms, divide and conquer, dynamic programming, recursion, and brute force search. You'll definitely want to be conversant with big- O notation, time and space complexity, and real world performance of all of this. Most importantly you'll need to be able to pick the right data structure and algorithm for a specific problem.

11/07 10:08, 4年前 , 2F
不會做業績,但google很多是用近乎海選的方式在面試
11/07 10:08, 2F

11/07 10:08, 4年前 , 3F
人,同一職缺有會有20-30位以上競爭者。
11/07 10:08, 3F

11/07 10:08, 4年前 , 4F
給一個月滿佛的
11/07 10:08, 4F

11/07 10:09, 4年前 , 5F
刷leetcode吧
11/07 10:09, 5F

11/07 10:17, 4年前 , 6F
用leetcode學會用STL 然後寫些小專案熟悉virtual
11/07 10:17, 6F

11/07 10:17, 4年前 , 7F
function怎麼用
11/07 10:17, 7F

11/07 10:27, 4年前 , 8F
刷哩扣熟悉stl就好
11/07 10:27, 8F
感謝各位建議 練習STL中... ※ 編輯: pacino (111.240.164.238 臺灣), 11/07/2021 11:31:12

11/07 12:22, 4年前 , 9F
這個一看就是leetcode要求,algorithm
11/07 12:22, 9F

11/07 12:58, 4年前 , 10F
那封信就是考coding阿 去刷提吧 不過Google應該
11/07 12:58, 10F

11/07 12:59, 4年前 , 11F
不會限制你只能用C++吧 你可以用其他語言 但別用C
11/07 12:59, 11F

11/07 12:59, 4年前 , 12F
就是 很多題目會被玩死 推薦C++/Java/Python
11/07 12:59, 12F

11/07 13:00, 4年前 , 13F
vector/map/queue/list/set/priority queue/deque
11/07 13:00, 13F

11/07 13:00, 4年前 , 14F
上面這幾個STL熟悉一下 應該沒其他的了
11/07 13:00, 14F

11/07 13:02, 4年前 , 15F
如果台灣Google的面試是跟美國的一樣 那就是coding
11/07 13:02, 15F

11/07 13:03, 4年前 , 16F
跟system design(一職位及level而定) google不管你
11/07 13:03, 16F

11/07 13:03, 4年前 , 17F
之前相關經驗有多少才是 所以不會強行要你用c++
11/07 13:03, 17F

11/07 13:04, 4年前 , 18F
如果你有其他熟的語言比如java/python 你問一下HR
11/07 13:04, 18F

11/07 13:04, 4年前 , 19F
應該是可以用的
11/07 13:04, 19F

11/07 13:47, 4年前 , 20F
google很愛考圖論
11/07 13:47, 20F

11/07 14:43, 4年前 , 21F
python最好刷啦
11/07 14:43, 21F

11/07 14:47, 4年前 , 22F
推 peter98 說的 library。C++真的深的給你一年也是
11/07 14:47, 22F

11/07 14:47, 4年前 , 23F
來不及XD
11/07 14:47, 23F
我有問HR specialist能用C嗎? 他要我不要想了, 趕快去練C++... 可能如大家說的, 用C去考他的題目會死... 可能要直接用STL才能快速解題 ※ 編輯: pacino (111.240.164.238 臺灣), 11/07/2021 15:43:20

11/07 16:04, 4年前 , 24F
用C根本搞死自己而已 人家要考的是演算法,不想考你
11/07 16:04, 24F

11/07 16:04, 4年前 , 25F
用C造輪子
11/07 16:04, 25F

11/07 16:21, 4年前 , 26F
他一場面試45分鐘 結果你想到的演算法需要priority
11/07 16:21, 26F

11/07 16:21, 4年前 , 27F
queue 你打算現場從node開始生heap?
11/07 16:21, 27F

11/07 16:23, 4年前 , 28F
如果你有在45分內現場做出來的自信並解出他的問題
11/07 16:23, 28F

11/07 16:23, 4年前 , 29F
那你的確可以用C
11/07 16:23, 29F

11/07 16:41, 4年前 , 30F
你會問能不能用C代表你完全沒刷過題,挑個20題
11/07 16:41, 30F

11/07 16:41, 4年前 , 31F
medium來做你就知道為什麼不要用C
11/07 16:41, 31F

11/07 16:42, 4年前 , 32F
不想學C++就學python,最好入門的隨便都比C快多了
11/07 16:42, 32F

11/07 17:04, 4年前 , 33F
c++一個重點是物件導向 多型 但很難速成
11/07 17:04, 33F

11/07 17:05, 4年前 , 34F
單純問c++會考什麼,多型相關是很基本的考題
11/07 17:05, 34F

11/07 17:05, 4年前 , 35F
你也可以賭面試官覺得這個太基本了所以不考
11/07 17:05, 35F

11/07 17:16, 4年前 , 36F
刷爆
11/07 17:16, 36F

11/07 17:41, 4年前 , 37F
樓樓上 google 面試推薦用c++是因為很多題目用STL才
11/07 17:41, 37F

11/07 17:41, 4年前 , 38F
有辦法在時間內做出來,不太會考物件導向跟多型什麼
11/07 17:41, 38F

11/07 17:41, 4年前 , 39F
11/07 17:41, 39F

11/07 17:55, 4年前 , 40F
了解,這樣的話簡單很多
11/07 17:55, 40F

11/07 18:42, 4年前 , 41F
都是練習新的 用python吧 速度很重要
11/07 18:42, 41F

11/07 20:11, 4年前 , 42F
Leetcode
11/07 20:11, 42F

11/07 20:51, 4年前 , 43F
看職務是什麼 像我認識有人python準備了一陣子
11/07 20:51, 43F

11/07 20:52, 4年前 , 44F
突然HR來一句'hiring manager'覺得工作上C++比較常
11/07 20:52, 44F

11/07 20:52, 4年前 , 45F
用到 就突然轉成考C++也有
11/07 20:52, 45F

11/07 20:53, 4年前 , 46F
可以問清楚recruiter大概職缺相對常用的語言
11/07 20:53, 46F

11/07 20:56, 4年前 , 47F
當然也有覺得沒差的 純考你拆解題目+使用演算法的
11/07 20:56, 47F

11/07 22:23, 4年前 , 48F
之前面試也是一開始的時候面試官問你用什麼語言
11/07 22:23, 48F

11/08 02:31, 4年前 , 49F
C++ & python的heap&custom compare都挺不錯的
11/08 02:31, 49F

11/08 02:31, 4年前 , 50F
建議2選1吧...找語法太繁鎖的只是找自已麻煩
11/08 02:31, 50F

11/08 02:33, 4年前 , 51F
不過好奇發問,大家接受HR安排測驗時,題數大約多少呢
11/08 02:33, 51F

11/08 03:19, 4年前 , 52F
認真 HR測驗你如果沒過 那真的是建議半年後再來@@
11/08 03:19, 52F

11/08 03:19, 4年前 , 53F
標準跟難度都跟後面差很多 HR測驗要沒過也不簡單...
11/08 03:19, 53F

11/08 03:21, 4年前 , 54F
後面的面試都要準備 但是HR考試建議不要準備用實力
11/08 03:21, 54F

11/08 06:26, 4年前 , 55F
面試跟考試真的推python , c++寫的好真的難
11/08 06:26, 55F

11/08 06:27, 4年前 , 56F
面試時間不會太久 ,c++不適合
11/08 06:27, 56F

11/08 06:28, 4年前 , 57F
考試可以選多種語言沒錯
11/08 06:28, 57F

11/08 06:31, 4年前 , 58F
python的好處 ,面試比較少被刁到效率問題
11/08 06:31, 58F

11/08 11:08, 4年前 , 59F
樓上 用google面試當中 無論用何種語言都會被刁效率
11/08 11:08, 59F

11/08 11:15, 4年前 , 60F
靠coding就是問你時間空間複雜度啊 又不會真的比執
11/08 11:15, 60F

11/08 11:15, 4年前 , 61F
行時間 都是問order而已
11/08 11:15, 61F

11/09 00:25, 4年前 , 62F
Leetcode啊還來問= =
11/09 00:25, 62F
文章代碼(AID): #1XXpHiIn (Tech_Job)