SlideShare a Scribd company logo
1 of 62
Cracking the Technical Interview Cracking the Technical Interview Gayle Laakmann Founder / CEO, CareerCup.com
My Background Penn BSE / MSE ‘05 in CS Ex-Engineer at Google, Microsoft and Apple 		+ Offers from Amazon, IBM and others 3 Years on Google Hiring Committee Interviewed 120+ candidates
CareerCup Founded 2005 Largest source for technical interview questions (3000+ FREE questions) Services: Book Video Mock interviews
How are interviews structured? How are you evaluated? Process
Technical Interview Process Initial Screen (Phone / Campus) 4 - 5 on site interviews 10 min General 40 min Technical 10 min Closing Sometimes “blind” interview
Evaluation (What They Say)
Big Company Evaluation (Actual) Experience
Big Company Eval = No Red Flags “Better to lose a good candidate than to hire a bad one.” “Better to lose a good candidate than to hire a bad one.”
Smaller Companies Interview process varies Care more about experience / personality Might ask to see “portfolio”
What do companies look for? Applying
What do companies look for? Project experience! Course work Open source Independent studies Weiss Tech House Know C++ or Java well Skills  Passion Work Ethic
Resume Advice: One Page. Seriously. 3 Sections: Education, Employment, Projects List languages with experience level Pet Peeve: Save file with your name
Why do you want to work here?  What was your favorite project? Interview prep – SOFT SKILLS
Research the company / team Prepare questions: Genuine Questions Things you really want to know Insightful Questions Technical questions that show your CS knowledge Passion Questions Questions that show your tech passion Soft Prep – The Company / Team
Create Preparation Grid for Projects + (maybe) Behavioral Grid Soft Prep – Yourself
Strengths vs. Weaknesses Mediocre answer: “it was hard because I had to learn new languages / technologies” Not just answering Q’s – show who you are! Soft Prep – Yourself
How do you prep for coding questions? What do you prep? Interview prep – Tech SKILLS
Data structures Algorithms Concepts What to study
How to implement When to use (pros / cons) Data Structures
Implementation Space vs Time Complexity Algorithms
Concepts Not just a concept – know how to code!
Don’t practice on computer!
What do companies look for? Interview – soft SKILLS
The Interview: Chit Chat Beginning + End of Interview What?  Resume questions (hardest bug, etc) General questions Opportunity for you to ask questions Why?  Get to know your personality / interests RELAXES you
The Interview: Chit Chat - Tips Be specific – not arrogant      “Yeah, I did all the hard work for the team”      “I implemented the file system, which was              considered one of the hardest components.” Limited details (else too hard to follow) Ask good questions!
ituation ction esponse The Interview: Chit Chat - Tips S structure your  responses A R
How do you tackle hard tech questions? Interview – tech SKILLS
General Advice for Technical Questions Talk out loud – show us how you think! Good interviews = hard questions Don’t be nervous if you can’t solve something! You’re not done until they say you’re done.
Question Types Standard Coding and Algorithms “Reverse a linked list” Object Oriented Design “Design a parking lot” Large System Design “Design a program to crawl the web” Trivia “What does a “vtable” refer to in C++”
Standard Coding  and Algorithms Question Type #1
5 Steps #1 Standard Coding  and Algorithms
Asking Questions What are the data types? How much data? What assumptions do you need? Who is the user? NOTE: Especially important at Microsoft. #1 Standard Coding  and Algorithms
Algorithm Generation #1 Standard Coding  and Algorithms OMG!  I have no idea how to solve this problem!
Algorithm Generation Pattern Matching What problem is this similar to? Simplify / Generalize What if the data was a different type? Base Case & Build Can you do this just for element 1? 1 and 2? … Data Structure Brainstorm Go through all data structures – can they help? #1 Standard Coding  and Algorithms
Algorithm Generation Pattern Matching Write code to reverse the order of words in a sentence. 	Example: 		input: “iPad is an awful name” 		output: “name awful an is iPad” #1 Standard Coding  and Algorithms
Algorithm Generation Simplify / Generalize Write a program to remove the duplicate characters in a string without using any additional buffers. #1 Standard Coding  and Algorithms
Algorithm Generation Base Case & Build Design an algorithm to print all valid combinations of n pairs of parentheses. 	Example: 		input: n = 3 		output: ( )( )( ), ( ) ( () ), ( () )(), ((())) #1 Standard Coding  and Algorithms
Algorithm Generation Data Structures Brainstorm Design an algorithm to figure out if someone has won a game of tic-tac-toe.  Make it as fast as possible. #1 Standard Coding  and Algorithms
Poking Holes What’s space / time complexity? What if there’s lots of data? Does your design cause other issues? If there are other issues, did you make the right trade offs? #1 Standard Coding  and Algorithms
Pseudo Code & Code Pseudo code first – but say that! Use data structures generously What are the right ones? Define your own = shows good style Don’t crowd your coding Start in the upper left corner of board, not bottom #1 Standard Coding  and Algorithms
Testing Test your code! Extreme cases Check for user error Test general cases CAREFULLY FIX MISTAKES #1 Standard Coding  and Algorithms
Object Oriented Design Question Type #2
OOD Steps #2 Object Oriented Design Clarifying Questions What are the core objects? What is the interaction (eg, methods)? Walk through uses.  Have you missed anything?  Are there any algorithms you need?
OOD Example #2 Object Oriented Design Design the data structures for a restaurant
Restaurant OOD #2 Object Oriented Design 1. Clarifying Questions How many guests? Buffet or entrees? What meals does it serve?
Restaurant OOD #2 Object Oriented Design 2. Core Objects Guest Party Server Table Meal Order
Restaurant OOD #2 Object Oriented Design 3. Interaction Server assigned to Table by Host Guests order Meal from Menu via Server Oops! Forgot menu!
Restaurant OOD #2 Object Oriented Design 4. Walk Through Uses Party enters with Guest(s). Assigned to Table.  Order items.
Restaurant OOD #2 Object Oriented Design 5. Algorithms How do you find a free table? How do you remove out-of-stock item from menu?
Large Scale System Design Question Type #3
Large Scale Steps #3 Large Scale  System Design Simplify Develop algorithm for simple case Generalize What problems do you hit? Can you solve them?
Trivia Question Type #4
Trivia #4 Trivia Hopefully you know the answer! Practice more  Else… Admit that you don’t know Try to derive the answer
(eg, things that wouldn’t fit in elsewhere) FINAL THOUGHTS
The Interview: Ending It Smile, be positive If you think you bombed, don’t worry Follow up with your recruiters (sometimes they forget)
The Offer It’s always negotiable Helps if you have competing offer Don’t lie – companies know what competitors offer Is it really what you want? Money, career options, etc
My Red Flags: People who… … wrote code and didn’t test it … found mistakes and would make random fixes … jammed things messily into an existing data structure … didn’t consider the impact of their algorithms … were scared to try
Take Aways – Getting Ready Get Project Experience Show project experience on resume S. A. R. (Situation Action Result) Prepare Project / Behavioral Grids
Technical Interview Prep Things to know (data structures, algorithms, concepts) Simple  Know Implementation Complex  Know Concepts Practice interview questions!
At The Interview	 Be nice Interviews are supposed to be hard Approaches Pattern Matching Simplify / Generalize Base Case & Build Data Structure Brainstorm
Other Resources E-Book Video Mock Interviews Slides posted at CareerCup.com/slides www.CareerCup.com20% discount with code: [removed from online posting – email me to get it] I have removed the discount code from online posting because, well, things are Google-able and the code is intended for penn students.  Please email gayle@careercup.com from your UPENN email address to get the code.

More Related Content

Similar to Cracking The Technical Interview

Cracking the coding interview columbia - march 23 2011
Cracking the coding interview   columbia - march 23 2011Cracking the coding interview   columbia - march 23 2011
Cracking the coding interview columbia - march 23 2011careercup
 
How to Pass an Interview for Software Engineer / IT Specialist?
How to Pass an Interview for Software Engineer / IT Specialist?How to Pass an Interview for Software Engineer / IT Specialist?
How to Pass an Interview for Software Engineer / IT Specialist?Svetlin Nakov
 
How to Pass an Interview for Software Engineer
How to Pass an Interview for Software EngineerHow to Pass an Interview for Software Engineer
How to Pass an Interview for Software EngineerDoncho Minkov
 
NUS Hackers Project Intern 2016
NUS Hackers Project Intern 2016NUS Hackers Project Intern 2016
NUS Hackers Project Intern 2016Vishnu Prem
 
5. Подготовка и явяване на ИТ интервю
5. Подготовка и явяване на ИТ интервю5. Подготовка и явяване на ИТ интервю
5. Подготовка и явяване на ИТ интервюSvetlin Nakov
 
Greythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview GuideGreythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview GuideVaco Seattle
 
Rocking The Tech Interview
Rocking The Tech InterviewRocking The Tech Interview
Rocking The Tech InterviewTim Worboys
 
Top 10 Interview Questions for Coding Job.docx
Top 10 Interview Questions for Coding Job.docxTop 10 Interview Questions for Coding Job.docx
Top 10 Interview Questions for Coding Job.docxSurendra Gusain
 
Top 10 Interview Questions for Coding Job.docx
Top 10 Interview Questions for Coding Job.docxTop 10 Interview Questions for Coding Job.docx
Top 10 Interview Questions for Coding Job.docxSurendra Gusain
 
Cracking the Coding Interview (Oct 2012)
Cracking the Coding Interview (Oct 2012)Cracking the Coding Interview (Oct 2012)
Cracking the Coding Interview (Oct 2012)careercup
 
Interviewing and Getting a Job 101
Interviewing and Getting a Job 101Interviewing and Getting a Job 101
Interviewing and Getting a Job 101spartasoft
 
How to start your data career
How to start your data careerHow to start your data career
How to start your data careerAdwait Bhave
 
Google Interview Prep Guide Software Engineer
Google Interview Prep Guide Software EngineerGoogle Interview Prep Guide Software Engineer
Google Interview Prep Guide Software EngineerLewis Lin 🦊
 
Programming interview preparation
Programming interview preparationProgramming interview preparation
Programming interview preparationbigdata trunk
 
Requirements gathering for developers
Requirements gathering for developersRequirements gathering for developers
Requirements gathering for developersDorje McKinnon
 
Hack It 'Til You Make It: Acing The Technical Interview
Hack It 'Til You Make It: Acing The Technical InterviewHack It 'Til You Make It: Acing The Technical Interview
Hack It 'Til You Make It: Acing The Technical Interviewjaysonjphillips
 
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...NadinaLisbon1
 
Data Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLData Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLPaco Nathan
 

Similar to Cracking The Technical Interview (20)

Cracking the coding interview columbia - march 23 2011
Cracking the coding interview   columbia - march 23 2011Cracking the coding interview   columbia - march 23 2011
Cracking the coding interview columbia - march 23 2011
 
How to Pass an Interview for Software Engineer / IT Specialist?
How to Pass an Interview for Software Engineer / IT Specialist?How to Pass an Interview for Software Engineer / IT Specialist?
How to Pass an Interview for Software Engineer / IT Specialist?
 
How to Pass an Interview for Software Engineer
How to Pass an Interview for Software EngineerHow to Pass an Interview for Software Engineer
How to Pass an Interview for Software Engineer
 
NUS Hackers Project Intern 2016
NUS Hackers Project Intern 2016NUS Hackers Project Intern 2016
NUS Hackers Project Intern 2016
 
5. Подготовка и явяване на ИТ интервю
5. Подготовка и явяване на ИТ интервю5. Подготовка и явяване на ИТ интервю
5. Подготовка и явяване на ИТ интервю
 
Interviews
InterviewsInterviews
Interviews
 
Greythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview GuideGreythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview Guide
 
Karat at CMU
Karat at CMUKarat at CMU
Karat at CMU
 
Rocking The Tech Interview
Rocking The Tech InterviewRocking The Tech Interview
Rocking The Tech Interview
 
Top 10 Interview Questions for Coding Job.docx
Top 10 Interview Questions for Coding Job.docxTop 10 Interview Questions for Coding Job.docx
Top 10 Interview Questions for Coding Job.docx
 
Top 10 Interview Questions for Coding Job.docx
Top 10 Interview Questions for Coding Job.docxTop 10 Interview Questions for Coding Job.docx
Top 10 Interview Questions for Coding Job.docx
 
Cracking the Coding Interview (Oct 2012)
Cracking the Coding Interview (Oct 2012)Cracking the Coding Interview (Oct 2012)
Cracking the Coding Interview (Oct 2012)
 
Interviewing and Getting a Job 101
Interviewing and Getting a Job 101Interviewing and Getting a Job 101
Interviewing and Getting a Job 101
 
How to start your data career
How to start your data careerHow to start your data career
How to start your data career
 
Google Interview Prep Guide Software Engineer
Google Interview Prep Guide Software EngineerGoogle Interview Prep Guide Software Engineer
Google Interview Prep Guide Software Engineer
 
Programming interview preparation
Programming interview preparationProgramming interview preparation
Programming interview preparation
 
Requirements gathering for developers
Requirements gathering for developersRequirements gathering for developers
Requirements gathering for developers
 
Hack It 'Til You Make It: Acing The Technical Interview
Hack It 'Til You Make It: Acing The Technical InterviewHack It 'Til You Make It: Acing The Technical Interview
Hack It 'Til You Make It: Acing The Technical Interview
 
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
Salesforce Architect Group, Frederick, United States July 2023 - Generative A...
 
Data Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLData Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area ML
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Cracking The Technical Interview

  • 1. Cracking the Technical Interview Cracking the Technical Interview Gayle Laakmann Founder / CEO, CareerCup.com
  • 2. My Background Penn BSE / MSE ‘05 in CS Ex-Engineer at Google, Microsoft and Apple + Offers from Amazon, IBM and others 3 Years on Google Hiring Committee Interviewed 120+ candidates
  • 3. CareerCup Founded 2005 Largest source for technical interview questions (3000+ FREE questions) Services: Book Video Mock interviews
  • 4.
  • 5. How are interviews structured? How are you evaluated? Process
  • 6. Technical Interview Process Initial Screen (Phone / Campus) 4 - 5 on site interviews 10 min General 40 min Technical 10 min Closing Sometimes “blind” interview
  • 8. Big Company Evaluation (Actual) Experience
  • 9. Big Company Eval = No Red Flags “Better to lose a good candidate than to hire a bad one.” “Better to lose a good candidate than to hire a bad one.”
  • 10. Smaller Companies Interview process varies Care more about experience / personality Might ask to see “portfolio”
  • 11. What do companies look for? Applying
  • 12. What do companies look for? Project experience! Course work Open source Independent studies Weiss Tech House Know C++ or Java well Skills Passion Work Ethic
  • 13. Resume Advice: One Page. Seriously. 3 Sections: Education, Employment, Projects List languages with experience level Pet Peeve: Save file with your name
  • 14. Why do you want to work here? What was your favorite project? Interview prep – SOFT SKILLS
  • 15. Research the company / team Prepare questions: Genuine Questions Things you really want to know Insightful Questions Technical questions that show your CS knowledge Passion Questions Questions that show your tech passion Soft Prep – The Company / Team
  • 16. Create Preparation Grid for Projects + (maybe) Behavioral Grid Soft Prep – Yourself
  • 17. Strengths vs. Weaknesses Mediocre answer: “it was hard because I had to learn new languages / technologies” Not just answering Q’s – show who you are! Soft Prep – Yourself
  • 18. How do you prep for coding questions? What do you prep? Interview prep – Tech SKILLS
  • 19. Data structures Algorithms Concepts What to study
  • 20. How to implement When to use (pros / cons) Data Structures
  • 21. Implementation Space vs Time Complexity Algorithms
  • 22. Concepts Not just a concept – know how to code!
  • 23. Don’t practice on computer!
  • 24. What do companies look for? Interview – soft SKILLS
  • 25. The Interview: Chit Chat Beginning + End of Interview What? Resume questions (hardest bug, etc) General questions Opportunity for you to ask questions Why? Get to know your personality / interests RELAXES you
  • 26. The Interview: Chit Chat - Tips Be specific – not arrogant “Yeah, I did all the hard work for the team” “I implemented the file system, which was considered one of the hardest components.” Limited details (else too hard to follow) Ask good questions!
  • 27. ituation ction esponse The Interview: Chit Chat - Tips S structure your responses A R
  • 28. How do you tackle hard tech questions? Interview – tech SKILLS
  • 29. General Advice for Technical Questions Talk out loud – show us how you think! Good interviews = hard questions Don’t be nervous if you can’t solve something! You’re not done until they say you’re done.
  • 30. Question Types Standard Coding and Algorithms “Reverse a linked list” Object Oriented Design “Design a parking lot” Large System Design “Design a program to crawl the web” Trivia “What does a “vtable” refer to in C++”
  • 31. Standard Coding and Algorithms Question Type #1
  • 32. 5 Steps #1 Standard Coding and Algorithms
  • 33. Asking Questions What are the data types? How much data? What assumptions do you need? Who is the user? NOTE: Especially important at Microsoft. #1 Standard Coding and Algorithms
  • 34. Algorithm Generation #1 Standard Coding and Algorithms OMG! I have no idea how to solve this problem!
  • 35. Algorithm Generation Pattern Matching What problem is this similar to? Simplify / Generalize What if the data was a different type? Base Case & Build Can you do this just for element 1? 1 and 2? … Data Structure Brainstorm Go through all data structures – can they help? #1 Standard Coding and Algorithms
  • 36. Algorithm Generation Pattern Matching Write code to reverse the order of words in a sentence. Example: input: “iPad is an awful name” output: “name awful an is iPad” #1 Standard Coding and Algorithms
  • 37. Algorithm Generation Simplify / Generalize Write a program to remove the duplicate characters in a string without using any additional buffers. #1 Standard Coding and Algorithms
  • 38. Algorithm Generation Base Case & Build Design an algorithm to print all valid combinations of n pairs of parentheses. Example: input: n = 3 output: ( )( )( ), ( ) ( () ), ( () )(), ((())) #1 Standard Coding and Algorithms
  • 39. Algorithm Generation Data Structures Brainstorm Design an algorithm to figure out if someone has won a game of tic-tac-toe. Make it as fast as possible. #1 Standard Coding and Algorithms
  • 40. Poking Holes What’s space / time complexity? What if there’s lots of data? Does your design cause other issues? If there are other issues, did you make the right trade offs? #1 Standard Coding and Algorithms
  • 41. Pseudo Code & Code Pseudo code first – but say that! Use data structures generously What are the right ones? Define your own = shows good style Don’t crowd your coding Start in the upper left corner of board, not bottom #1 Standard Coding and Algorithms
  • 42. Testing Test your code! Extreme cases Check for user error Test general cases CAREFULLY FIX MISTAKES #1 Standard Coding and Algorithms
  • 43. Object Oriented Design Question Type #2
  • 44. OOD Steps #2 Object Oriented Design Clarifying Questions What are the core objects? What is the interaction (eg, methods)? Walk through uses. Have you missed anything? Are there any algorithms you need?
  • 45. OOD Example #2 Object Oriented Design Design the data structures for a restaurant
  • 46. Restaurant OOD #2 Object Oriented Design 1. Clarifying Questions How many guests? Buffet or entrees? What meals does it serve?
  • 47. Restaurant OOD #2 Object Oriented Design 2. Core Objects Guest Party Server Table Meal Order
  • 48. Restaurant OOD #2 Object Oriented Design 3. Interaction Server assigned to Table by Host Guests order Meal from Menu via Server Oops! Forgot menu!
  • 49. Restaurant OOD #2 Object Oriented Design 4. Walk Through Uses Party enters with Guest(s). Assigned to Table. Order items.
  • 50. Restaurant OOD #2 Object Oriented Design 5. Algorithms How do you find a free table? How do you remove out-of-stock item from menu?
  • 51. Large Scale System Design Question Type #3
  • 52. Large Scale Steps #3 Large Scale System Design Simplify Develop algorithm for simple case Generalize What problems do you hit? Can you solve them?
  • 54. Trivia #4 Trivia Hopefully you know the answer! Practice more  Else… Admit that you don’t know Try to derive the answer
  • 55. (eg, things that wouldn’t fit in elsewhere) FINAL THOUGHTS
  • 56. The Interview: Ending It Smile, be positive If you think you bombed, don’t worry Follow up with your recruiters (sometimes they forget)
  • 57. The Offer It’s always negotiable Helps if you have competing offer Don’t lie – companies know what competitors offer Is it really what you want? Money, career options, etc
  • 58. My Red Flags: People who… … wrote code and didn’t test it … found mistakes and would make random fixes … jammed things messily into an existing data structure … didn’t consider the impact of their algorithms … were scared to try
  • 59. Take Aways – Getting Ready Get Project Experience Show project experience on resume S. A. R. (Situation Action Result) Prepare Project / Behavioral Grids
  • 60. Technical Interview Prep Things to know (data structures, algorithms, concepts) Simple  Know Implementation Complex  Know Concepts Practice interview questions!
  • 61. At The Interview Be nice Interviews are supposed to be hard Approaches Pattern Matching Simplify / Generalize Base Case & Build Data Structure Brainstorm
  • 62. Other Resources E-Book Video Mock Interviews Slides posted at CareerCup.com/slides www.CareerCup.com20% discount with code: [removed from online posting – email me to get it] I have removed the discount code from online posting because, well, things are Google-able and the code is intended for penn students. Please email gayle@careercup.com from your UPENN email address to get the code.

Editor's Notes

  1. What you want to know:How much time do you spend coding per day? In meetings?How does code get shipped?Insightful QuestionsI noticed that Google Talk uses the XMPP standard, and …Passion QuestionsI love learning about scalable systems. What are opportunities at Google?
  2. Hashtables – super important!!!
  3. Bit manipulation – super important!Recursion: how does recursion impact space and time?Practice converting from iterative into recursion