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

AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 

Recently uploaded (20)

Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 

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/