Tham khảo tài liệu 'how to prepare for a career and land a job at apple_5', kỹ năng mềm, kỹ năng phỏng vấn phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | The Programming Interview 165 How to Prepare When it comes to practicing interview questions quality matters more than quantity. There are literally thousands of sample interview questions online for companies like Google Microsoft and Amazon don t try to memorize the answers. It s impossible and won t help you anyway The Five-Step Approach to Effective Preparation Take your time solving problems and try the following approach in practicing questions 1. Try to solve the problem on your own. I mean really try to solve it. Many questions are designed to be tough that s OK When you re solving a problem make sure to think about both the space and time complexity. Ask yourself if you could improve the time efficiency by reducing the space efficiency. 2. Write the code for the algorithm on paper. You ve been coding all your life on a computer and you ve gotten used to the many nice things about it compilers code completion and so on. You won t have any of these in an interview so you better get used to it now. Implement the code the old-fashioned way down to every last semicolon. 3. Test your code By hand that is. No cheating with a computer 4. Type your code into a computer exactly as is. Rerun both the test cases you tried and some new ones. 5. Start a list of all the mistakes you made and analyze what types of mistakes you make the most often. Is it specific mistakes 166 The Google Résumé You can find thousands of coding interview questions on that candidates have gotten from companies like Google Microsoft Amazon and other major tech companies. What If I Hear a Question I Know In offering thousands of sample interview questions on CareerCup .com and in my other book Cracking the Coding Interview my goal is not to help you memorize questions and then regurgitate answers in an interview. Interviewers want to see how you approach problems so spitting out pre-prepared solutions won t do you much good. If you get a question you ve heard before tell your .