SlideShare a Scribd company logo
1 of 15
Download to read offline
Ace the
coding
interview
ProgrammingInterviewPrep.com
Who are we?
Software Engineers with a passion for programming, problem
solving and the community
ProgrammingInterviewPrep.com
What is an interview (and what it is
not..)?
An interaction to determine candidate’s problem solving ability
● Given a problem, how does candidate approach it
○ Structured approach - Decomposing, patterns, sub-problems, simplifying etc..
● Clean and modular code
● Working code, potentially bug free
● How well ideas are communicated
ProgrammingInterviewPrep.com
The process
Talk to
Recruiter
On-site
Phone
Interview
Coding
Test
Hiring
Committee
1. Practice tools
- Leetcode
- InterviewBit
- Geeksforgeeks
2. Efficient vs complete code
3. Document a better approach
if you cannot code it
4. Readable, well commented
code
1. Coding test on a shared
document
2. Communication of ideas
important
3. Be sure to discuss your
solution before you start
coding
Several rounds, ~45 minutes
- 5 minutes : Resume
- 35 minutes : Whiteboarding
- 5 mins : Questions
Design questions and hiring
manager interview.
ProgrammingInterviewPrep.com
Approaching a programming problem
Start with an Example
Communicate
Brute Force
Optimizations
Trade-offs
Write code
Test your code
1. Solve using pen and
paper
1. Solve a simplified
version of problem
1. Datastructures
1. Algorithms
1. Design patterns
- sliding window
- Array out of bounds
- Null/None values
- Hashmap keys present?
- Recursion base case
- Start after you are clear
on solution
- Clean code
- Modular code
- Start with high level
logic
ProgrammingInterviewPrep.com
Approaching a problem - example
Given an array of Integers, check if there are duplicates.
[1,3,6,9,22,6,3] True
[1,3,6,9,22,8,4] False
ProgrammingInterviewPrep.com
Approaching a problem - example
(continued)
for(int i=0; i<array.length; i++) {
for(int j =i+1; j<array.length; j++) {
if (array[i] == array[j])
return true;
}
}
return false;
Brute-force
ProgrammingInterviewPrep.com
Approaching a problem - example
(continued)
Hash
Tables
Stacks
Queues
Heaps
Sort
Arrays.sort(array);
for (int i =0; i<array.length ; i++) {
if (array[i] == array[i+1]) {
return true;
}
}
return false;
Sort Hash
Tables
ProgrammingInterviewPrep.com
Can you spot a bug in the code?
Approaching a problem - example
(continued)
Arrays.sort(array);
for (int i =0; i<array.length ; i++) {
if (array[i] == array[i+1]) {
return true;
}
}
return false;
ProgrammingInterviewPrep.com
Types of questions
● Knowledge based questions
● Programming language questions
● Core computer science concept questions
● Data Structures
Arrays
Hash
Tables
Stacks
And
Queues
Linked
Lists
Trees
and
Graphs
Heaps
ProgrammingInterviewPrep.com
Types of questions
● Algorithms
● Code complexity
● System Design
● Object oriented design
● Behavioral questions
Recursion Dynamic Programming
Tree/Graph
Traversal
Searching Sorting
ProgrammingInterviewPrep.com
Good habits that will stack odds in
your favor
● Solve problems passively while doing chores like walking your dog
● Find a buddy
● Whiteboard practice! (but don’t neglect to execute your code)
● If stuck during interview, communicate what you are thinking
● Don’t start interviewing with your dream company; go bottom up
● Negotiating power: Your power is the # of competing job offers
ProgrammingInterviewPrep.com
Offerings
● Bootcamps
○ Covers the crux of programming interviews
■ Time complexity
■ Data structures
■ Algorithms (Advanced Recursion, Dynamic Programming, Graphs etc.)
■ System Design / OOP
○ Common interview patterns for efficient solutions
○ Interview prep techniques to write efficient and error free code under time pressure.
○ Behavior and situational Interview Prep
○ Resume and LinkedIn Inputs
○ Mock interview
○ 2 Weekend ( 4 hrs. each day)
ProgrammingInterviewPrep.com
Another coding question..
- Max Subarray Problem
[−2, 1, −3, 4, −1, 2, 1, −5, 4] ⇒ 6
ProgrammingInterviewPrep.com
Contact us
● Website http://programminginterviewprep.com/
● Email info@programminginterviewprep.com
● Meetup https://www.meetup.com/Programming-
Interview-Prep/

More Related Content

What's hot

Best Practices of Software Development
Best Practices of Software DevelopmentBest Practices of Software Development
Best Practices of Software DevelopmentFolio3 Software
 
Aad motivation
Aad motivationAad motivation
Aad motivationMr SMAK
 
An introduction to Competitive Programming
An introduction to Competitive ProgrammingAn introduction to Competitive Programming
An introduction to Competitive ProgrammingGaurav Agarwal
 
Key learnings from my refactor journey.
Key learnings from my refactor journey.Key learnings from my refactor journey.
Key learnings from my refactor journey.Thiago Dos Santos Hora
 
Problem solving
Problem solvingProblem solving
Problem solvingho94949
 
Introduction to Competitive programming
Introduction to Competitive programmingIntroduction to Competitive programming
Introduction to Competitive programmingAyoub Eddakhly
 
Eureka English Evening
Eureka English EveningEureka English Evening
Eureka English EveningJames Neve
 
Cracking the coding interview u penn - sept 30 2010
Cracking the coding interview   u penn - sept 30 2010Cracking the coding interview   u penn - sept 30 2010
Cracking the coding interview u penn - sept 30 2010careercup
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven DevelopmentSamnang Chhun
 
Workshop on programming contest
Workshop on programming contestWorkshop on programming contest
Workshop on programming contestAbir Khan
 

What's hot (14)

Career Options in Software Industry
Career Options in Software IndustryCareer Options in Software Industry
Career Options in Software Industry
 
Best Practices of Software Development
Best Practices of Software DevelopmentBest Practices of Software Development
Best Practices of Software Development
 
Aad motivation
Aad motivationAad motivation
Aad motivation
 
An introduction to Competitive Programming
An introduction to Competitive ProgrammingAn introduction to Competitive Programming
An introduction to Competitive Programming
 
Key learnings from my refactor journey.
Key learnings from my refactor journey.Key learnings from my refactor journey.
Key learnings from my refactor journey.
 
Notesparadigms
NotesparadigmsNotesparadigms
Notesparadigms
 
Problem solving
Problem solvingProblem solving
Problem solving
 
Introduction to Competitive programming
Introduction to Competitive programmingIntroduction to Competitive programming
Introduction to Competitive programming
 
Eureka English Evening
Eureka English EveningEureka English Evening
Eureka English Evening
 
Unit testing-patterns
Unit testing-patternsUnit testing-patterns
Unit testing-patterns
 
Machine Learning Introduction
Machine Learning IntroductionMachine Learning Introduction
Machine Learning Introduction
 
Cracking the coding interview u penn - sept 30 2010
Cracking the coding interview   u penn - sept 30 2010Cracking the coding interview   u penn - sept 30 2010
Cracking the coding interview u penn - sept 30 2010
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Workshop on programming contest
Workshop on programming contestWorkshop on programming contest
Workshop on programming contest
 

Similar to Programming interview preparation

Cracking The Technical Interview
Cracking The Technical InterviewCracking The Technical Interview
Cracking The Technical Interviewcareercup
 
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
 
Cracking The Technical Interview Uw
Cracking The Technical Interview   UwCracking The Technical Interview   Uw
Cracking The Technical Interview Uwcareercup
 
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
 
Interview Preparation guide for DSA.pptx
Interview Preparation guide for DSA.pptxInterview Preparation guide for DSA.pptx
Interview Preparation guide for DSA.pptxTutort Academy
 
Google Interview Prep Guide Software Engineer
Google Interview Prep Guide Software EngineerGoogle Interview Prep Guide Software Engineer
Google Interview Prep Guide Software EngineerLewis Lin 🦊
 
Preparing for IEEEXtreme 12.0 &amp; mora xtreme
Preparing for IEEEXtreme 12.0 &amp; mora xtremePreparing for IEEEXtreme 12.0 &amp; mora xtreme
Preparing for IEEEXtreme 12.0 &amp; mora xtremeSupun Abeysinghe
 
Boost Your Base Bootcamp - [Online & Offline] In Bangla
Boost Your Base Bootcamp - [Online & Offline] In BanglaBoost Your Base Bootcamp - [Online & Offline] In Bangla
Boost Your Base Bootcamp - [Online & Offline] In BanglaStack Learner
 
Visualising the world of competitive programming with Python (Codeforces)
Visualising the world of competitive programming with Python (Codeforces)Visualising the world of competitive programming with Python (Codeforces)
Visualising the world of competitive programming with Python (Codeforces)Anuj Menta
 
NUS Hackers Project Intern 2016
NUS Hackers Project Intern 2016NUS Hackers Project Intern 2016
NUS Hackers Project Intern 2016Vishnu Prem
 
The Data-First approach to Learning Coding 2.0
The Data-First approach to Learning Coding 2.0The Data-First approach to Learning Coding 2.0
The Data-First approach to Learning Coding 2.0Ato Mensah
 
Cepstrum Placement Talk 2022.pptx
Cepstrum Placement Talk 2022.pptxCepstrum Placement Talk 2022.pptx
Cepstrum Placement Talk 2022.pptxgyan98
 
Rocking The Tech Interview
Rocking The Tech InterviewRocking The Tech Interview
Rocking The Tech InterviewTim Worboys
 
So you want to be a programmer
So you want to be a programmerSo you want to be a programmer
So you want to be a programmerBusayo Oyebisi
 
Placement oriented data structures
Placement oriented data structuresPlacement oriented data structures
Placement oriented data structuresLovelyn Rose
 
When develpment met test(shift left testing)
When develpment met test(shift left testing)When develpment met test(shift left testing)
When develpment met test(shift left testing)SangIn Choung
 
How Indeed asks coding interview questions
How Indeed asks coding interview questionsHow Indeed asks coding interview questions
How Indeed asks coding interview questionsFangda Wang
 

Similar to Programming interview preparation (20)

Cracking The Technical Interview
Cracking The Technical InterviewCracking The Technical Interview
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 2011
 
Cracking The Technical Interview Uw
Cracking The Technical Interview   UwCracking The Technical Interview   Uw
Cracking The Technical Interview Uw
 
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
 
Interview Preparation guide for DSA.pptx
Interview Preparation guide for DSA.pptxInterview Preparation guide for DSA.pptx
Interview Preparation guide for DSA.pptx
 
Google Interview Prep Guide Software Engineer
Google Interview Prep Guide Software EngineerGoogle Interview Prep Guide Software Engineer
Google Interview Prep Guide Software Engineer
 
Preparing for IEEEXtreme 12.0 &amp; mora xtreme
Preparing for IEEEXtreme 12.0 &amp; mora xtremePreparing for IEEEXtreme 12.0 &amp; mora xtreme
Preparing for IEEEXtreme 12.0 &amp; mora xtreme
 
Boost Your Base Bootcamp - [Online & Offline] In Bangla
Boost Your Base Bootcamp - [Online & Offline] In BanglaBoost Your Base Bootcamp - [Online & Offline] In Bangla
Boost Your Base Bootcamp - [Online & Offline] In Bangla
 
Visualising the world of competitive programming with Python (Codeforces)
Visualising the world of competitive programming with Python (Codeforces)Visualising the world of competitive programming with Python (Codeforces)
Visualising the world of competitive programming with Python (Codeforces)
 
NUS Hackers Project Intern 2016
NUS Hackers Project Intern 2016NUS Hackers Project Intern 2016
NUS Hackers Project Intern 2016
 
The Data-First approach to Learning Coding 2.0
The Data-First approach to Learning Coding 2.0The Data-First approach to Learning Coding 2.0
The Data-First approach to Learning Coding 2.0
 
Cepstrum Placement Talk 2022.pptx
Cepstrum Placement Talk 2022.pptxCepstrum Placement Talk 2022.pptx
Cepstrum Placement Talk 2022.pptx
 
Rocking The Tech Interview
Rocking The Tech InterviewRocking The Tech Interview
Rocking The Tech Interview
 
So you want to be a programmer
So you want to be a programmerSo you want to be a programmer
So you want to be a programmer
 
Technical Interviewing
Technical InterviewingTechnical Interviewing
Technical Interviewing
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Placement oriented data structures
Placement oriented data structuresPlacement oriented data structures
Placement oriented data structures
 
When develpment met test(shift left testing)
When develpment met test(shift left testing)When develpment met test(shift left testing)
When develpment met test(shift left testing)
 
How Indeed asks coding interview questions
How Indeed asks coding interview questionsHow Indeed asks coding interview questions
How Indeed asks coding interview questions
 

More from bigdata trunk

Getting started with GCP ( Google Cloud Platform)
Getting started with GCP ( Google  Cloud Platform)Getting started with GCP ( Google  Cloud Platform)
Getting started with GCP ( Google Cloud Platform)bigdata trunk
 
AI and ML for Everyone
AI and ML for EveryoneAI and ML for Everyone
AI and ML for Everyonebigdata trunk
 
Introduction of Artificial Intelligence and Machine Learning
Introduction of Artificial Intelligence and Machine Learning Introduction of Artificial Intelligence and Machine Learning
Introduction of Artificial Intelligence and Machine Learning bigdata trunk
 
Big Data Ecosystem after Spark
Big Data Ecosystem after SparkBig Data Ecosystem after Spark
Big Data Ecosystem after Sparkbigdata trunk
 
Introduction to machine learning algorithms
Introduction to machine learning algorithmsIntroduction to machine learning algorithms
Introduction to machine learning algorithmsbigdata trunk
 
Data Science process
Data Science processData Science process
Data Science processbigdata trunk
 
Machine Learning Intro for Anyone and Everyone
Machine Learning Intro for Anyone and EveryoneMachine Learning Intro for Anyone and Everyone
Machine Learning Intro for Anyone and Everyonebigdata trunk
 
Apache Spark Introduction
Apache Spark IntroductionApache Spark Introduction
Apache Spark Introductionbigdata trunk
 

More from bigdata trunk (8)

Getting started with GCP ( Google Cloud Platform)
Getting started with GCP ( Google  Cloud Platform)Getting started with GCP ( Google  Cloud Platform)
Getting started with GCP ( Google Cloud Platform)
 
AI and ML for Everyone
AI and ML for EveryoneAI and ML for Everyone
AI and ML for Everyone
 
Introduction of Artificial Intelligence and Machine Learning
Introduction of Artificial Intelligence and Machine Learning Introduction of Artificial Intelligence and Machine Learning
Introduction of Artificial Intelligence and Machine Learning
 
Big Data Ecosystem after Spark
Big Data Ecosystem after SparkBig Data Ecosystem after Spark
Big Data Ecosystem after Spark
 
Introduction to machine learning algorithms
Introduction to machine learning algorithmsIntroduction to machine learning algorithms
Introduction to machine learning algorithms
 
Data Science process
Data Science processData Science process
Data Science process
 
Machine Learning Intro for Anyone and Everyone
Machine Learning Intro for Anyone and EveryoneMachine Learning Intro for Anyone and Everyone
Machine Learning Intro for Anyone and Everyone
 
Apache Spark Introduction
Apache Spark IntroductionApache Spark Introduction
Apache Spark Introduction
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

Programming interview preparation

  • 2. Who are we? Software Engineers with a passion for programming, problem solving and the community ProgrammingInterviewPrep.com
  • 3. What is an interview (and what it is not..)? An interaction to determine candidate’s problem solving ability ● Given a problem, how does candidate approach it ○ Structured approach - Decomposing, patterns, sub-problems, simplifying etc.. ● Clean and modular code ● Working code, potentially bug free ● How well ideas are communicated ProgrammingInterviewPrep.com
  • 4. The process Talk to Recruiter On-site Phone Interview Coding Test Hiring Committee 1. Practice tools - Leetcode - InterviewBit - Geeksforgeeks 2. Efficient vs complete code 3. Document a better approach if you cannot code it 4. Readable, well commented code 1. Coding test on a shared document 2. Communication of ideas important 3. Be sure to discuss your solution before you start coding Several rounds, ~45 minutes - 5 minutes : Resume - 35 minutes : Whiteboarding - 5 mins : Questions Design questions and hiring manager interview. ProgrammingInterviewPrep.com
  • 5. Approaching a programming problem Start with an Example Communicate Brute Force Optimizations Trade-offs Write code Test your code 1. Solve using pen and paper 1. Solve a simplified version of problem 1. Datastructures 1. Algorithms 1. Design patterns - sliding window - Array out of bounds - Null/None values - Hashmap keys present? - Recursion base case - Start after you are clear on solution - Clean code - Modular code - Start with high level logic ProgrammingInterviewPrep.com
  • 6. Approaching a problem - example Given an array of Integers, check if there are duplicates. [1,3,6,9,22,6,3] True [1,3,6,9,22,8,4] False ProgrammingInterviewPrep.com
  • 7. Approaching a problem - example (continued) for(int i=0; i<array.length; i++) { for(int j =i+1; j<array.length; j++) { if (array[i] == array[j]) return true; } } return false; Brute-force ProgrammingInterviewPrep.com
  • 8. Approaching a problem - example (continued) Hash Tables Stacks Queues Heaps Sort Arrays.sort(array); for (int i =0; i<array.length ; i++) { if (array[i] == array[i+1]) { return true; } } return false; Sort Hash Tables ProgrammingInterviewPrep.com
  • 9. Can you spot a bug in the code? Approaching a problem - example (continued) Arrays.sort(array); for (int i =0; i<array.length ; i++) { if (array[i] == array[i+1]) { return true; } } return false; ProgrammingInterviewPrep.com
  • 10. Types of questions ● Knowledge based questions ● Programming language questions ● Core computer science concept questions ● Data Structures Arrays Hash Tables Stacks And Queues Linked Lists Trees and Graphs Heaps ProgrammingInterviewPrep.com
  • 11. Types of questions ● Algorithms ● Code complexity ● System Design ● Object oriented design ● Behavioral questions Recursion Dynamic Programming Tree/Graph Traversal Searching Sorting ProgrammingInterviewPrep.com
  • 12. Good habits that will stack odds in your favor ● Solve problems passively while doing chores like walking your dog ● Find a buddy ● Whiteboard practice! (but don’t neglect to execute your code) ● If stuck during interview, communicate what you are thinking ● Don’t start interviewing with your dream company; go bottom up ● Negotiating power: Your power is the # of competing job offers ProgrammingInterviewPrep.com
  • 13. Offerings ● Bootcamps ○ Covers the crux of programming interviews ■ Time complexity ■ Data structures ■ Algorithms (Advanced Recursion, Dynamic Programming, Graphs etc.) ■ System Design / OOP ○ Common interview patterns for efficient solutions ○ Interview prep techniques to write efficient and error free code under time pressure. ○ Behavior and situational Interview Prep ○ Resume and LinkedIn Inputs ○ Mock interview ○ 2 Weekend ( 4 hrs. each day) ProgrammingInterviewPrep.com
  • 14. Another coding question.. - Max Subarray Problem [−2, 1, −3, 4, −1, 2, 1, −5, 4] ⇒ 6 ProgrammingInterviewPrep.com
  • 15. Contact us ● Website http://programminginterviewprep.com/ ● Email info@programminginterviewprep.com ● Meetup https://www.meetup.com/Programming- Interview-Prep/