I used to participate two Google Interviews in spet,2018, and then I failed at last. Since I want the T-shirt so I search the key works of my problems during the interview and see whether I can find them and say something.
Then I find them both.
Minimum Cost to Hire K Workers
Count Complete Tree Nodes
The questions are totally the same with the questions during the interview.
However, it is too late to say I can, isn't it.
When I took the interview, I finished almost 200 questions in leetcode, absolutely not including the questions above. But I have to admit that since I used 20 days to finish them. In some aspects, I really do not how to anlyze the problems. For example, I can feel that maybe I can use heap in the question 857 and definitely since 222 is question about tree, I should use divide & conquer to reduce the complexity. However, since I am not familar with the solution of Tree and how to use heap at that time, I cannot figure out the whole structures of the solutions by my own. What is more, when I did 222, I feel I was stuck, so I turned to my interviewer for some help. But perhaps because of the bad communication, he told something I have know and refused to say more thing after that tip.
Now I decide to apply for some master projects in USA. I have handed in some applications but have not receive any offer since it is not yet the time of admission announcements. If I can have a chance to get an offer, maybe I will have some interview experiences there. Therefore, I decide to restart my Leetcode journey and do more anlysis in this time, since in the first round, I find myself spend too much time on debugging and spend too less time on thinking.
I am a beginner with a lot of questions in my mind, such as "Should I turn to python from C++ while coding in Leetcode", "Should I try to understand every solution of a problem rather than just the best one?" and "Besides Leetcode, what else should I do in tech field to prepare my future career?". I will be very grateful if you can give me some suggestions on any aspect of career.
Also please upvote me if you like my story since I wanna win T-shirt. Thanks a lot. >_<