SlideShare a Scribd company logo
1 of 3
Download to read offline
© CareerCup.com
Books by
Gayle
CRACKING THE
CODING
S K I L L S
1 Listen
Pay very close attention to any info in the
problem description. You probably need it
all for an optimal algorithm.
2 Example
Most examples are too small or are special
cases. Debug your example. Is there any way
it’s a special case? Is it big enough?
3 Brute Force
Get a brute-force solution as soon as possible. Don’t
worry about developing an efficient algorithm
yet. State a naive algorithm and its runtime, then
optimize from there. Don’t code yet though!
4 Optimize
Walk through your brute force with BUD
optimization or try some of these ideas:
 Look for any unused info. You usually need all
the information in a problem.
 Solve it manually on an example, then reverse
engineer your thought process. How did you
solve it?
 Solve it“incorrectly”and then think about why
the algorithm fails. Can you fix those issues?
 Make a time vs. space tradeoff. Hash tables are
especially useful!
5 Walk Through
Now that you have an optimal solution, walk
through your approach in detail. Make sure you
understand each detail before you start coding.
6 Implement
Your goal is to write beautiful code.
Modularize your code from the beginning
and refactor to clean up anything that isn’t
beautiful.
7 Test
Test in this order:
1.	 Conceptual test. Walk through your code
like you would for a detailed code review.
2.	 Unusual or non-standard code.
3.	 Hot spots, like arithmetic and null nodes.
4.	 Small test cases. It’s much faster than a big
test case and just as effective.
5.	 Special cases and edge cases.
And when you find bugs, fix them carefully!
BUD Optimization
Bottlenecks
Unnecessary Work
Duplicated Work
Created By Gayle
Laakmann McDowell
Best Conceivable
Runtime (BCR)
BCR is the runtime you know you
can’t beat. For example, if asked
to compute the intersection of
two sets, you know you can’t beat
O(|A|+|B|).
5 Approaches
 BUD: Look for bottlenecks,
unnecessary work,
duplicated work.
 DIY: Do It Yourself
 Simplify  Generalize:
Solve a simpler version.
 Base Case  Build: Solve for
the base cases then build
from there.
 Data Structure Brainstorm:
Try various data structures.
Do not…
 Do not ignore information given. Info is there for a reason.
 Do not try to solve problems in your head. Use an example!
 Do not push through code when confused. Stop and think!
 Do not dive into code without interviewer“sign off.”
What You Need To Know
1
Data Structures: Hash Tables, Linked Lists, Stacks, Queues,
Trees, Tries, Graphs, Vectors, Heaps.
2
Algorithms: Quick Sort, Merge Sort, Binary Search, Breadth-
First Search, Depth-First Search.
3
Concepts: Big-O Time, Big-O Space, Recursion  Memoization,
Probability, Bit Manipulation.
Exercises:
 Implement data structures  algorithms from scratch.
 Prove to yourself the runtime of the major algorithms.
© CareerCup.com
Books by
Gayle
Must Knows
 “So, tell me a bit about yourself…”
 “Why do you want to work here?”
 “Why should we hire you?”
 “Why are you leaving your current job?”
 “Where do you see yourself in 5 years?”
 “What do you do outside of work?”
 “What are your strengths and
weaknesses?”
Your Two-Minute Pitch
“I am a ____ at ______.”
“In college, I studied ___ at ____.”
“Then I worked for … where I ….”
“Then I worked for … where I ….”
“In my current job, I’ve accomplished….”
“Also, outside of work, I ….”
Preparing for Behavioral Questions
Create Resume Grid Pick Five Key Stories
Themes Job 1 Job 2
Leadership  Influence story
Mistakes  Failures story
Challenges story
Teamwork story story
Successes story
Coder? Add: Bugs, Architecture, Optimization, Scaling.
Diagram Your Stories
Stories Story 1 Story 2
THEME(S) e.g., Leadership, Challenge, …
Nugget “Sure, let me tell you about when I …”
Situation Only the basics needed
Action(s) Expand here!
Result Prove it!
THE POINT What does it say about you?
Structured Answers
N
Nugget.“Sure, let me tell you about the time that I
…”This focuses you and your interviewer on what
you’re about to say.
S
Situation. Explain just basics. The interviewer only
needs enough details to understand what you did.
Most people spend too much time here.
A
Action(s). Detail what actions you took.“First, I ….
Then, I …. And finally, I ….”This is where you should
spend most of your time. Speak in bullets!
R
Result. Succinctly explain the result of your efforts
were. Prove that the impact was good with numbers
or a clear success metric.
Check Your Stories
 Are they substantial?
 Are they understandable?
 Have you explained why you did it this way?
 What do they say about you?
 Are they really about you (not your team)?
 Have you covered all the themes?
 Can you answer,“What would you do differently?”?
Questions For Your Interviewer
 Things you want to know.
 Things that show passion/interest.
 Things that show skills.
CRACKING THE
SOFT
S K I L L S
Created By Gayle
Laakmann McDowell
© CareerCup.com
Books by
Gayle
CRACKING THE
It’s always about …
 Structure: Demonstrate that you can break down a problem and
discuss it in an organization fashion. 
 User-Focused Thinking: Put yourself in the user’s shoes and
think about what they want.
 Problem-Solving Ability: Companies want smart people.
Estimation Questions
1.	 Clarify.
2.	 Think about what you know.
3.	 Make an equation.
4.	 Consider significant edge cases.
5.	 Solve components.
6.	 Sanity Check.
How many golf balls can fit in a 747? How many
keyboards are sold in a year?
 Use nice, round numbers.
 Don’t get too detailed. You’re only going for a ballpark
estimate.
Product Questions
Design a …
1.	 Ask questions.
2.	 Provide a structure.
3.	 Identify users.
4.	 Describe use cases  goals.
 If altering existing product,
how well does it meet user
needs?
5.	 Design the product.
Improve …
1.	 Identify product goal.
2.	 Describe product issues.
 Put users first!
3.	 Explore possible solutions.
4.	 Describe implementations
of solutions.
5.	 Explain how you would
validate implementations
are successful.
Favorite product and why
1.	 What problems does it
solve?
2.	 How does the product
accomplish these goals?
Why do you love it?
3.	 How does it compare to
the alternatives?
4.	 How would you improve
it?
Preparation
 Analyze your favorite physical product,
website, and mobile app.
 Understand metrics: users, traffic,
referral, engagement, retention,
revenue, costs, etc.
 Analyze company’s product:
users, goals, strengths, challenges,
competitors, tradeoffs.
FOCUS ON THE USER!
Case Questions
Marketing
 First analyze the company,
competitors, customers, and
landscape.
 Then design your marketing
plan to fit goals.
Launching a Product
1.	 Discuss vision for product.
2.	 Determine goals of launch.
3.	 Design overview of launch.
4.	 Plan pre, during,  post-
launch.
D
Drive. Don’t make your interviewer ask a bunch of follow-ups.
Take charge. Drive, don’t ride.
I
Instincts: Show good instincts. Your interviewer is testing how
you’d perform without all the research.
F
Framework: Structure is key. Come up with your own
framework to tackle each problem.
Strategy
 Macro: What is the product’s strategy?
 Micro: How does the product align
with company strategy?
 Think: mission, goals, strengths,
weaknesses.
Problem Solving
1.	 Isolate the problem.
2.	 Diagnose the cause.
3.	 Solve the problem.
4.	 Consider tradeoffs.
Pricing and Profitability
 Calculate with: cost-plus pricing, value pricing, competitive
pricing, experimental pricing.
 Structures: ad-supported, freemium, tied, a la carte,
subscription, free trials, razor blade model.
Brainstorming: How many things can you do with a paperclip?
 Don’t worry about a stupid idea. Be creative!
 Strengths and Key Assets: A paperclip is thin, bendy, metal,
light, pokey, etc.
 One vs. Many: What can you do with one paperclip? What if
you had many?
 As-Is vs. With Modifications: What can you do with a paperclip
as-is? What if you can modify it (melt it down, etc.)?
Frameworks: Customer Decision Making Process, Marketing
Mix (4 P’s), SWOT Analysis, Situational Analysis (5 C’s), Porter’s
Five Forces. Rarely directly useful, but good inspiration to
create your own framework!
CRACKING THE
P MS K I L L S
Created By Gayle
Laakmann McDowell

More Related Content

What's hot

DDD sample code explained in Java
DDD sample code explained in JavaDDD sample code explained in Java
DDD sample code explained in Java増田 亨
 
Real-time personalized recommendations using product embeddings
Real-time personalized recommendations using product embeddingsReal-time personalized recommendations using product embeddings
Real-time personalized recommendations using product embeddingsJakub Macina
 
Reinventing the Transaction Script (NDC London 2020)
Reinventing the Transaction Script (NDC London 2020)Reinventing the Transaction Script (NDC London 2020)
Reinventing the Transaction Script (NDC London 2020)Scott Wlaschin
 
DDDをScrumで廻す あるいは ScrumをDDDで廻す
DDDをScrumで廻す あるいは ScrumをDDDで廻す DDDをScrumで廻す あるいは ScrumをDDDで廻す
DDDをScrumで廻す あるいは ScrumをDDDで廻す Kiro Harada
 
Refactoring page objects The Screenplay Pattern
Refactoring page objects   The Screenplay Pattern Refactoring page objects   The Screenplay Pattern
Refactoring page objects The Screenplay Pattern RiverGlide
 
PostgreSQL Deep Internal
PostgreSQL Deep InternalPostgreSQL Deep Internal
PostgreSQL Deep InternalEXEM
 
Winning data science competitions, presented by Owen Zhang
Winning data science competitions, presented by Owen ZhangWinning data science competitions, presented by Owen Zhang
Winning data science competitions, presented by Owen ZhangVivian S. Zhang
 
Crash dump analysis - experience sharing
Crash dump analysis - experience sharingCrash dump analysis - experience sharing
Crash dump analysis - experience sharingJames Hsieh
 
OpenGurukul : Database : PostgreSQL
OpenGurukul : Database : PostgreSQLOpenGurukul : Database : PostgreSQL
OpenGurukul : Database : PostgreSQLOpen Gurukul
 
Solving PostgreSQL wicked problems
Solving PostgreSQL wicked problemsSolving PostgreSQL wicked problems
Solving PostgreSQL wicked problemsAlexander Korotkov
 
Agile, User Stories, Domain Driven Design
Agile, User Stories, Domain Driven DesignAgile, User Stories, Domain Driven Design
Agile, User Stories, Domain Driven DesignAraf Karsh Hamid
 
オブジェクト指向の設計と実装の学び方のコツ
オブジェクト指向の設計と実装の学び方のコツオブジェクト指向の設計と実装の学び方のコツ
オブジェクト指向の設計と実装の学び方のコツ増田 亨
 
Java ORマッパー選定のポイント #jsug
Java ORマッパー選定のポイント #jsugJava ORマッパー選定のポイント #jsug
Java ORマッパー選定のポイント #jsugMasatoshi Tada
 
Big Query Basics
Big Query BasicsBig Query Basics
Big Query BasicsIdo Green
 
Cracking the Coding interview (Abbreviated) - aug 2016
Cracking the Coding interview (Abbreviated) - aug 2016Cracking the Coding interview (Abbreviated) - aug 2016
Cracking the Coding interview (Abbreviated) - aug 2016Gayle McDowell
 

What's hot (20)

DDD sample code explained in Java
DDD sample code explained in JavaDDD sample code explained in Java
DDD sample code explained in Java
 
DATADOG TIPS #1
DATADOG TIPS #1DATADOG TIPS #1
DATADOG TIPS #1
 
Real-time personalized recommendations using product embeddings
Real-time personalized recommendations using product embeddingsReal-time personalized recommendations using product embeddings
Real-time personalized recommendations using product embeddings
 
Reinventing the Transaction Script (NDC London 2020)
Reinventing the Transaction Script (NDC London 2020)Reinventing the Transaction Script (NDC London 2020)
Reinventing the Transaction Script (NDC London 2020)
 
DDDをScrumで廻す あるいは ScrumをDDDで廻す
DDDをScrumで廻す あるいは ScrumをDDDで廻す DDDをScrumで廻す あるいは ScrumをDDDで廻す
DDDをScrumで廻す あるいは ScrumをDDDで廻す
 
Refactoring page objects The Screenplay Pattern
Refactoring page objects   The Screenplay Pattern Refactoring page objects   The Screenplay Pattern
Refactoring page objects The Screenplay Pattern
 
PostgreSQL Deep Internal
PostgreSQL Deep InternalPostgreSQL Deep Internal
PostgreSQL Deep Internal
 
Winning data science competitions, presented by Owen Zhang
Winning data science competitions, presented by Owen ZhangWinning data science competitions, presented by Owen Zhang
Winning data science competitions, presented by Owen Zhang
 
Crash dump analysis - experience sharing
Crash dump analysis - experience sharingCrash dump analysis - experience sharing
Crash dump analysis - experience sharing
 
Tuning Linux for MongoDB
Tuning Linux for MongoDBTuning Linux for MongoDB
Tuning Linux for MongoDB
 
PostgreSQL and MySQL
PostgreSQL and MySQLPostgreSQL and MySQL
PostgreSQL and MySQL
 
Get to know PostgreSQL!
Get to know PostgreSQL!Get to know PostgreSQL!
Get to know PostgreSQL!
 
PostgreSQL and RAM usage
PostgreSQL and RAM usagePostgreSQL and RAM usage
PostgreSQL and RAM usage
 
OpenGurukul : Database : PostgreSQL
OpenGurukul : Database : PostgreSQLOpenGurukul : Database : PostgreSQL
OpenGurukul : Database : PostgreSQL
 
Solving PostgreSQL wicked problems
Solving PostgreSQL wicked problemsSolving PostgreSQL wicked problems
Solving PostgreSQL wicked problems
 
Agile, User Stories, Domain Driven Design
Agile, User Stories, Domain Driven DesignAgile, User Stories, Domain Driven Design
Agile, User Stories, Domain Driven Design
 
オブジェクト指向の設計と実装の学び方のコツ
オブジェクト指向の設計と実装の学び方のコツオブジェクト指向の設計と実装の学び方のコツ
オブジェクト指向の設計と実装の学び方のコツ
 
Java ORマッパー選定のポイント #jsug
Java ORマッパー選定のポイント #jsugJava ORマッパー選定のポイント #jsug
Java ORマッパー選定のポイント #jsug
 
Big Query Basics
Big Query BasicsBig Query Basics
Big Query Basics
 
Cracking the Coding interview (Abbreviated) - aug 2016
Cracking the Coding interview (Abbreviated) - aug 2016Cracking the Coding interview (Abbreviated) - aug 2016
Cracking the Coding interview (Abbreviated) - aug 2016
 

Similar to Cracking the Interview Skills (Coding, Soft Skills, Product Management) Handouts

Cracking the Product Manager Interview
Cracking the Product Manager InterviewCracking the Product Manager Interview
Cracking the Product Manager InterviewGayle McDowell
 
Introduction to The Lean Startup
Introduction to The Lean StartupIntroduction to The Lean Startup
Introduction to The Lean StartupDanny Boice
 
How to Think like a Product Manager
How to Think like a Product ManagerHow to Think like a Product Manager
How to Think like a Product ManagerBenjamin Quam
 
Making Good Design Decisions
Making Good Design DecisionsMaking Good Design Decisions
Making Good Design DecisionsDan Saffer
 
Hiring the best at Opower
Hiring the best at OpowerHiring the best at Opower
Hiring the best at OpowerRoderick Morris
 
Intro to Lean Startup and Customer Discovery for Agilists
Intro to Lean Startup and Customer Discovery for AgilistsIntro to Lean Startup and Customer Discovery for Agilists
Intro to Lean Startup and Customer Discovery for AgilistsShashi Jain
 
Greythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview GuideGreythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview GuideVaco Seattle
 
30% faster coder on-boarding when you have a code cookbook
30% faster coder on-boarding when you have a code cookbook30% faster coder on-boarding when you have a code cookbook
30% faster coder on-boarding when you have a code cookbookGabriel Paunescu 🤖
 
Resource and technology design process
Resource and technology  design processResource and technology  design process
Resource and technology design processRobby Jackson
 
10 Observations from 10+ years in the Corporate UX Trenches
10 Observations from 10+ years in the Corporate UX Trenches10 Observations from 10+ years in the Corporate UX Trenches
10 Observations from 10+ years in the Corporate UX TrenchesArio Jafarzadeh
 
Code mashadvancedtopicsworkshop
Code mashadvancedtopicsworkshopCode mashadvancedtopicsworkshop
Code mashadvancedtopicsworkshoplisacrispin
 
Project Management in the Real World
Project Management in the Real WorldProject Management in the Real World
Project Management in the Real WorldKate Daly
 
Lean product discovery: Build the right sh*t - ProductCamp Austin - PCA19
Lean product discovery: Build the right sh*t - ProductCamp Austin - PCA19Lean product discovery: Build the right sh*t - ProductCamp Austin - PCA19
Lean product discovery: Build the right sh*t - ProductCamp Austin - PCA19Daniel Katz
 
Turning Passion Into Words
Turning Passion Into WordsTurning Passion Into Words
Turning Passion Into WordsBrian Hogan
 
beginners_guide_to_designing_apps_and_interfaces_1_0
beginners_guide_to_designing_apps_and_interfaces_1_0beginners_guide_to_designing_apps_and_interfaces_1_0
beginners_guide_to_designing_apps_and_interfaces_1_0Jesse Flores
 
Customer Development - Identifying and Testing Startup Hypotheses
Customer Development - Identifying and Testing Startup HypothesesCustomer Development - Identifying and Testing Startup Hypotheses
Customer Development - Identifying and Testing Startup HypothesesHenrik Berglund
 
five great tips for being successful in the art of programming.
 five great tips for being successful in the art of programming. five great tips for being successful in the art of programming.
five great tips for being successful in the art of programming.Jenny Jordan
 

Similar to Cracking the Interview Skills (Coding, Soft Skills, Product Management) Handouts (20)

Cracking the Product Manager Interview
Cracking the Product Manager InterviewCracking the Product Manager Interview
Cracking the Product Manager Interview
 
Introduction to The Lean Startup
Introduction to The Lean StartupIntroduction to The Lean Startup
Introduction to The Lean Startup
 
How to Think like a Product Manager
How to Think like a Product ManagerHow to Think like a Product Manager
How to Think like a Product Manager
 
Making Good Design Decisions
Making Good Design DecisionsMaking Good Design Decisions
Making Good Design Decisions
 
Hiring the best at Opower
Hiring the best at OpowerHiring the best at Opower
Hiring the best at Opower
 
Intro to Lean Startup and Customer Discovery for Agilists
Intro to Lean Startup and Customer Discovery for AgilistsIntro to Lean Startup and Customer Discovery for Agilists
Intro to Lean Startup and Customer Discovery for Agilists
 
Greythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview GuideGreythorn Whiteboard Interview Guide
Greythorn Whiteboard Interview Guide
 
30% faster coder on-boarding when you have a code cookbook
30% faster coder on-boarding when you have a code cookbook30% faster coder on-boarding when you have a code cookbook
30% faster coder on-boarding when you have a code cookbook
 
Resource and technology design process
Resource and technology  design processResource and technology  design process
Resource and technology design process
 
10 Observations from 10+ years in the Corporate UX Trenches
10 Observations from 10+ years in the Corporate UX Trenches10 Observations from 10+ years in the Corporate UX Trenches
10 Observations from 10+ years in the Corporate UX Trenches
 
Code mashadvancedtopicsworkshop
Code mashadvancedtopicsworkshopCode mashadvancedtopicsworkshop
Code mashadvancedtopicsworkshop
 
Project Management in the Real World
Project Management in the Real WorldProject Management in the Real World
Project Management in the Real World
 
Lean product discovery: Build the right sh*t - ProductCamp Austin - PCA19
Lean product discovery: Build the right sh*t - ProductCamp Austin - PCA19Lean product discovery: Build the right sh*t - ProductCamp Austin - PCA19
Lean product discovery: Build the right sh*t - ProductCamp Austin - PCA19
 
Turning Passion Into Words
Turning Passion Into WordsTurning Passion Into Words
Turning Passion Into Words
 
I3 Imagination Innovation and Improvement at IAcademy
I3 Imagination  Innovation and Improvement at IAcademyI3 Imagination  Innovation and Improvement at IAcademy
I3 Imagination Innovation and Improvement at IAcademy
 
beginners_guide_to_designing_apps_and_interfaces_1_0
beginners_guide_to_designing_apps_and_interfaces_1_0beginners_guide_to_designing_apps_and_interfaces_1_0
beginners_guide_to_designing_apps_and_interfaces_1_0
 
Customer Development - Identifying and Testing Startup Hypotheses
Customer Development - Identifying and Testing Startup HypothesesCustomer Development - Identifying and Testing Startup Hypotheses
Customer Development - Identifying and Testing Startup Hypotheses
 
Smoothing the Way
Smoothing the WaySmoothing the Way
Smoothing the Way
 
Lean thinking and the agile culture
Lean thinking and the agile cultureLean thinking and the agile culture
Lean thinking and the agile culture
 
five great tips for being successful in the art of programming.
 five great tips for being successful in the art of programming. five great tips for being successful in the art of programming.
five great tips for being successful in the art of programming.
 

More from Gayle McDowell

Cracking the PM Interview
Cracking the PM InterviewCracking the PM Interview
Cracking the PM InterviewGayle McDowell
 
Architecture of Tech Interviews
Architecture of Tech InterviewsArchitecture of Tech Interviews
Architecture of Tech InterviewsGayle McDowell
 
Cracking the PM Interview
Cracking the PM InterviewCracking the PM Interview
Cracking the PM InterviewGayle McDowell
 
How to Hire Software Engineers: Best and Worst Practices
How to Hire Software Engineers: Best and Worst PracticesHow to Hire Software Engineers: Best and Worst Practices
How to Hire Software Engineers: Best and Worst PracticesGayle McDowell
 
Cracking the Coding interview (College)
Cracking the Coding interview (College)Cracking the Coding interview (College)
Cracking the Coding interview (College)Gayle McDowell
 
Cracking the Algorithm & Coding Interview
Cracking the Algorithm & Coding InterviewCracking the Algorithm & Coding Interview
Cracking the Algorithm & Coding InterviewGayle McDowell
 
Prepping Your Engineering Candidates to Reduce Your False Negatives
Prepping Your Engineering Candidates to Reduce Your False NegativesPrepping Your Engineering Candidates to Reduce Your False Negatives
Prepping Your Engineering Candidates to Reduce Your False NegativesGayle McDowell
 
Creating the (Im)perfect Developer Interview
Creating the (Im)perfect Developer InterviewCreating the (Im)perfect Developer Interview
Creating the (Im)perfect Developer InterviewGayle McDowell
 
Hiring Great Product Managers
Hiring Great Product ManagersHiring Great Product Managers
Hiring Great Product ManagersGayle McDowell
 
Cracking the Product Manager Interview
Cracking the Product Manager InterviewCracking the Product Manager Interview
Cracking the Product Manager InterviewGayle McDowell
 
Reverse Engineering Engineering Interviewing: How to Be a Great Interviewer
Reverse Engineering Engineering Interviewing: How to Be a Great InterviewerReverse Engineering Engineering Interviewing: How to Be a Great Interviewer
Reverse Engineering Engineering Interviewing: How to Be a Great InterviewerGayle McDowell
 
Transitioning from Engineering to Product Management
Transitioning from Engineering to Product ManagementTransitioning from Engineering to Product Management
Transitioning from Engineering to Product ManagementGayle McDowell
 
Interviewing Great Developers: Reverse Engineering Interview Coaching to Crea...
Interviewing Great Developers: Reverse Engineering Interview Coaching to Crea...Interviewing Great Developers: Reverse Engineering Interview Coaching to Crea...
Interviewing Great Developers: Reverse Engineering Interview Coaching to Crea...Gayle McDowell
 

More from Gayle McDowell (13)

Cracking the PM Interview
Cracking the PM InterviewCracking the PM Interview
Cracking the PM Interview
 
Architecture of Tech Interviews
Architecture of Tech InterviewsArchitecture of Tech Interviews
Architecture of Tech Interviews
 
Cracking the PM Interview
Cracking the PM InterviewCracking the PM Interview
Cracking the PM Interview
 
How to Hire Software Engineers: Best and Worst Practices
How to Hire Software Engineers: Best and Worst PracticesHow to Hire Software Engineers: Best and Worst Practices
How to Hire Software Engineers: Best and Worst Practices
 
Cracking the Coding interview (College)
Cracking the Coding interview (College)Cracking the Coding interview (College)
Cracking the Coding interview (College)
 
Cracking the Algorithm & Coding Interview
Cracking the Algorithm & Coding InterviewCracking the Algorithm & Coding Interview
Cracking the Algorithm & Coding Interview
 
Prepping Your Engineering Candidates to Reduce Your False Negatives
Prepping Your Engineering Candidates to Reduce Your False NegativesPrepping Your Engineering Candidates to Reduce Your False Negatives
Prepping Your Engineering Candidates to Reduce Your False Negatives
 
Creating the (Im)perfect Developer Interview
Creating the (Im)perfect Developer InterviewCreating the (Im)perfect Developer Interview
Creating the (Im)perfect Developer Interview
 
Hiring Great Product Managers
Hiring Great Product ManagersHiring Great Product Managers
Hiring Great Product Managers
 
Cracking the Product Manager Interview
Cracking the Product Manager InterviewCracking the Product Manager Interview
Cracking the Product Manager Interview
 
Reverse Engineering Engineering Interviewing: How to Be a Great Interviewer
Reverse Engineering Engineering Interviewing: How to Be a Great InterviewerReverse Engineering Engineering Interviewing: How to Be a Great Interviewer
Reverse Engineering Engineering Interviewing: How to Be a Great Interviewer
 
Transitioning from Engineering to Product Management
Transitioning from Engineering to Product ManagementTransitioning from Engineering to Product Management
Transitioning from Engineering to Product Management
 
Interviewing Great Developers: Reverse Engineering Interview Coaching to Crea...
Interviewing Great Developers: Reverse Engineering Interview Coaching to Crea...Interviewing Great Developers: Reverse Engineering Interview Coaching to Crea...
Interviewing Great Developers: Reverse Engineering Interview Coaching to Crea...
 

Recently uploaded

Gray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfGray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfpadillaangelina0023
 
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCRdollysharma2066
 
定制英国克兰菲尔德大学毕业证成绩单原版一比一
定制英国克兰菲尔德大学毕业证成绩单原版一比一定制英国克兰菲尔德大学毕业证成绩单原版一比一
定制英国克兰菲尔德大学毕业证成绩单原版一比一z zzz
 
tools in IDTelated to first year vtu students is useful where they can refer ...
tools in IDTelated to first year vtu students is useful where they can refer ...tools in IDTelated to first year vtu students is useful where they can refer ...
tools in IDTelated to first year vtu students is useful where they can refer ...vinbld123
 
Ethics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptEthics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptShafqatShakeel1
 
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证diploma001
 
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一fjjwgk
 
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一F La
 
Call Girl in Low Price Delhi Punjabi Bagh 9711199012
Call Girl in Low Price Delhi Punjabi Bagh  9711199012Call Girl in Low Price Delhi Punjabi Bagh  9711199012
Call Girl in Low Price Delhi Punjabi Bagh 9711199012sapnasaifi408
 
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一F La
 
Ioannis Tzachristas Self-Presentation for MBA.pdf
Ioannis Tzachristas Self-Presentation for MBA.pdfIoannis Tzachristas Self-Presentation for MBA.pdf
Ioannis Tzachristas Self-Presentation for MBA.pdfjtzach
 
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一Fs
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一A SSS
 
Application deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfApplication deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfCyril CAUDROY
 
Protection of Children in context of IHL and Counter Terrorism
Protection of Children in context of IHL and  Counter TerrorismProtection of Children in context of IHL and  Counter Terrorism
Protection of Children in context of IHL and Counter TerrorismNilendra Kumar
 
Escort Service Andheri WhatsApp:+91-9833363713
Escort Service Andheri WhatsApp:+91-9833363713Escort Service Andheri WhatsApp:+91-9833363713
Escort Service Andheri WhatsApp:+91-9833363713Riya Pathan
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改yuu sss
 
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607dollysharma2066
 
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Servicejennyeacort
 
办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书saphesg8
 

Recently uploaded (20)

Gray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdfGray Gold Clean CV Resume2024tod (1).pdf
Gray Gold Clean CV Resume2024tod (1).pdf
 
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
8377877756 Full Enjoy @24/7 Call Girls in Pitampura Delhi NCR
 
定制英国克兰菲尔德大学毕业证成绩单原版一比一
定制英国克兰菲尔德大学毕业证成绩单原版一比一定制英国克兰菲尔德大学毕业证成绩单原版一比一
定制英国克兰菲尔德大学毕业证成绩单原版一比一
 
tools in IDTelated to first year vtu students is useful where they can refer ...
tools in IDTelated to first year vtu students is useful where they can refer ...tools in IDTelated to first year vtu students is useful where they can refer ...
tools in IDTelated to first year vtu students is useful where they can refer ...
 
Ethics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.pptEthics of Animal Research Laika mission.ppt
Ethics of Animal Research Laika mission.ppt
 
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
原版定制卡尔加里大学毕业证(UC毕业证)留信学历认证
 
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
定制(ECU毕业证书)埃迪斯科文大学毕业证毕业证成绩单原版一比一
 
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
办理(NUS毕业证书)新加坡国立大学毕业证成绩单原版一比一
 
Call Girl in Low Price Delhi Punjabi Bagh 9711199012
Call Girl in Low Price Delhi Punjabi Bagh  9711199012Call Girl in Low Price Delhi Punjabi Bagh  9711199012
Call Girl in Low Price Delhi Punjabi Bagh 9711199012
 
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
办理(Hull毕业证书)英国赫尔大学毕业证成绩单原版一比一
 
Ioannis Tzachristas Self-Presentation for MBA.pdf
Ioannis Tzachristas Self-Presentation for MBA.pdfIoannis Tzachristas Self-Presentation for MBA.pdf
Ioannis Tzachristas Self-Presentation for MBA.pdf
 
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
定制(Waikato毕业证书)新西兰怀卡托大学毕业证成绩单原版一比一
 
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
办理学位证(UoM证书)北安普顿大学毕业证成绩单原版一比一
 
Application deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdfApplication deck- Cyril Caudroy-2024.pdf
Application deck- Cyril Caudroy-2024.pdf
 
Protection of Children in context of IHL and Counter Terrorism
Protection of Children in context of IHL and  Counter TerrorismProtection of Children in context of IHL and  Counter Terrorism
Protection of Children in context of IHL and Counter Terrorism
 
Escort Service Andheri WhatsApp:+91-9833363713
Escort Service Andheri WhatsApp:+91-9833363713Escort Service Andheri WhatsApp:+91-9833363713
Escort Service Andheri WhatsApp:+91-9833363713
 
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
办澳洲詹姆斯库克大学毕业证成绩单pdf电子版制作修改
 
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
Gurgaon Call Girls: Free Delivery 24x7 at Your Doorstep G.G.N = 8377087607
 
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
Call Girls In Bhikaji Cama Place 24/7✡️9711147426✡️ Escorts Service
 
办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书办理哈珀亚当斯大学学院毕业证书文凭学位证书
办理哈珀亚当斯大学学院毕业证书文凭学位证书
 

Cracking the Interview Skills (Coding, Soft Skills, Product Management) Handouts

  • 1. © CareerCup.com Books by Gayle CRACKING THE CODING S K I L L S 1 Listen Pay very close attention to any info in the problem description. You probably need it all for an optimal algorithm. 2 Example Most examples are too small or are special cases. Debug your example. Is there any way it’s a special case? Is it big enough? 3 Brute Force Get a brute-force solution as soon as possible. Don’t worry about developing an efficient algorithm yet. State a naive algorithm and its runtime, then optimize from there. Don’t code yet though! 4 Optimize Walk through your brute force with BUD optimization or try some of these ideas: Look for any unused info. You usually need all the information in a problem. Solve it manually on an example, then reverse engineer your thought process. How did you solve it? Solve it“incorrectly”and then think about why the algorithm fails. Can you fix those issues? Make a time vs. space tradeoff. Hash tables are especially useful! 5 Walk Through Now that you have an optimal solution, walk through your approach in detail. Make sure you understand each detail before you start coding. 6 Implement Your goal is to write beautiful code. Modularize your code from the beginning and refactor to clean up anything that isn’t beautiful. 7 Test Test in this order: 1. Conceptual test. Walk through your code like you would for a detailed code review. 2. Unusual or non-standard code. 3. Hot spots, like arithmetic and null nodes. 4. Small test cases. It’s much faster than a big test case and just as effective. 5. Special cases and edge cases. And when you find bugs, fix them carefully! BUD Optimization Bottlenecks Unnecessary Work Duplicated Work Created By Gayle Laakmann McDowell Best Conceivable Runtime (BCR) BCR is the runtime you know you can’t beat. For example, if asked to compute the intersection of two sets, you know you can’t beat O(|A|+|B|). 5 Approaches BUD: Look for bottlenecks, unnecessary work, duplicated work. DIY: Do It Yourself Simplify Generalize: Solve a simpler version. Base Case Build: Solve for the base cases then build from there. Data Structure Brainstorm: Try various data structures. Do not… Do not ignore information given. Info is there for a reason. Do not try to solve problems in your head. Use an example! Do not push through code when confused. Stop and think! Do not dive into code without interviewer“sign off.” What You Need To Know 1 Data Structures: Hash Tables, Linked Lists, Stacks, Queues, Trees, Tries, Graphs, Vectors, Heaps. 2 Algorithms: Quick Sort, Merge Sort, Binary Search, Breadth- First Search, Depth-First Search. 3 Concepts: Big-O Time, Big-O Space, Recursion Memoization, Probability, Bit Manipulation. Exercises: Implement data structures algorithms from scratch. Prove to yourself the runtime of the major algorithms.
  • 2. © CareerCup.com Books by Gayle Must Knows “So, tell me a bit about yourself…” “Why do you want to work here?” “Why should we hire you?” “Why are you leaving your current job?” “Where do you see yourself in 5 years?” “What do you do outside of work?” “What are your strengths and weaknesses?” Your Two-Minute Pitch “I am a ____ at ______.” “In college, I studied ___ at ____.” “Then I worked for … where I ….” “Then I worked for … where I ….” “In my current job, I’ve accomplished….” “Also, outside of work, I ….” Preparing for Behavioral Questions Create Resume Grid Pick Five Key Stories Themes Job 1 Job 2 Leadership Influence story Mistakes Failures story Challenges story Teamwork story story Successes story Coder? Add: Bugs, Architecture, Optimization, Scaling. Diagram Your Stories Stories Story 1 Story 2 THEME(S) e.g., Leadership, Challenge, … Nugget “Sure, let me tell you about when I …” Situation Only the basics needed Action(s) Expand here! Result Prove it! THE POINT What does it say about you? Structured Answers N Nugget.“Sure, let me tell you about the time that I …”This focuses you and your interviewer on what you’re about to say. S Situation. Explain just basics. The interviewer only needs enough details to understand what you did. Most people spend too much time here. A Action(s). Detail what actions you took.“First, I …. Then, I …. And finally, I ….”This is where you should spend most of your time. Speak in bullets! R Result. Succinctly explain the result of your efforts were. Prove that the impact was good with numbers or a clear success metric. Check Your Stories Are they substantial? Are they understandable? Have you explained why you did it this way? What do they say about you? Are they really about you (not your team)? Have you covered all the themes? Can you answer,“What would you do differently?”? Questions For Your Interviewer Things you want to know. Things that show passion/interest. Things that show skills. CRACKING THE SOFT S K I L L S Created By Gayle Laakmann McDowell
  • 3. © CareerCup.com Books by Gayle CRACKING THE It’s always about … Structure: Demonstrate that you can break down a problem and discuss it in an organization fashion. User-Focused Thinking: Put yourself in the user’s shoes and think about what they want. Problem-Solving Ability: Companies want smart people. Estimation Questions 1. Clarify. 2. Think about what you know. 3. Make an equation. 4. Consider significant edge cases. 5. Solve components. 6. Sanity Check. How many golf balls can fit in a 747? How many keyboards are sold in a year? Use nice, round numbers. Don’t get too detailed. You’re only going for a ballpark estimate. Product Questions Design a … 1. Ask questions. 2. Provide a structure. 3. Identify users. 4. Describe use cases goals. If altering existing product, how well does it meet user needs? 5. Design the product. Improve … 1. Identify product goal. 2. Describe product issues. Put users first! 3. Explore possible solutions. 4. Describe implementations of solutions. 5. Explain how you would validate implementations are successful. Favorite product and why 1. What problems does it solve? 2. How does the product accomplish these goals? Why do you love it? 3. How does it compare to the alternatives? 4. How would you improve it? Preparation Analyze your favorite physical product, website, and mobile app. Understand metrics: users, traffic, referral, engagement, retention, revenue, costs, etc. Analyze company’s product: users, goals, strengths, challenges, competitors, tradeoffs. FOCUS ON THE USER! Case Questions Marketing First analyze the company, competitors, customers, and landscape. Then design your marketing plan to fit goals. Launching a Product 1. Discuss vision for product. 2. Determine goals of launch. 3. Design overview of launch. 4. Plan pre, during, post- launch. D Drive. Don’t make your interviewer ask a bunch of follow-ups. Take charge. Drive, don’t ride. I Instincts: Show good instincts. Your interviewer is testing how you’d perform without all the research. F Framework: Structure is key. Come up with your own framework to tackle each problem. Strategy Macro: What is the product’s strategy? Micro: How does the product align with company strategy? Think: mission, goals, strengths, weaknesses. Problem Solving 1. Isolate the problem. 2. Diagnose the cause. 3. Solve the problem. 4. Consider tradeoffs. Pricing and Profitability Calculate with: cost-plus pricing, value pricing, competitive pricing, experimental pricing. Structures: ad-supported, freemium, tied, a la carte, subscription, free trials, razor blade model. Brainstorming: How many things can you do with a paperclip? Don’t worry about a stupid idea. Be creative! Strengths and Key Assets: A paperclip is thin, bendy, metal, light, pokey, etc. One vs. Many: What can you do with one paperclip? What if you had many? As-Is vs. With Modifications: What can you do with a paperclip as-is? What if you can modify it (melt it down, etc.)? Frameworks: Customer Decision Making Process, Marketing Mix (4 P’s), SWOT Analysis, Situational Analysis (5 C’s), Porter’s Five Forces. Rarely directly useful, but good inspiration to create your own framework! CRACKING THE P MS K I L L S Created By Gayle Laakmann McDowell