SlideShare a Scribd company logo
Approaching a problem and
developing an enduring solution
FEB 28 2019
3:00PM - 3:45PM IST
Mithi Software Technologies
SANDEEP SUKHIJA
Tech Lead
SANDIP SINGH
Tech Lead
What we covered in the last session
Identified Gaps
• Battling for marks and not skills
• Confused on what language to hook on
• Lack of practice
What we covered in the last session
How to bridge the gap
• Practice
• Learn in groups
• Read code
• Participate in coding contests
Why this topic
We understood that there is no substitute to
being a good programmer to be industry ready.
What we will cover in this session
• Common Mistakes while attempting a problem
• The process to build a near to ideal solution
Approaching a problem and developing an enduring solution
Gaps -Inability to code
Problem -Find the longest word in the sentence
Gaps - Misunderstanding the problem
Problem - Find the frequency of the alphabets in the string
Gaps - Jumping directly to code
Problem - Find the frequency of the alphabets
in the string
Gaps - Not able to construct the flow
Problem -
Find the
longest word
in the sentence
Gaps - Not working out multiple approaches to solve the problem
Problem -
Find the
longest word
in the sentence
Gaps - Not validating the code before running - dry run
Problem –
Find the
longest word
in the
sentence
Gaps
• Inability to code
• Misunderstanding the problem
• Jumping directly to code
• Not able to construct the flow
• Dry run
• Not working out multiple approaches to solve a problem
• Understand the problem
• Write the solution in plain English
• Break the problem into chunks
• Create a flow / write a pseudo-code
• Trace the solution with the test
cases/dry run - define the test
cases
• Write code
• Evaluate - Dry run
Building a near to
ideal solution
Problem: Find the longest word in the sentence
Input String : "The cat sat on the mat with another cat"
Step 1 Understanding the problem
Problem: Find the longest word in the sentence
To find the longest word we need to accept the
input from the user, and break the sentence
into words. Compare the length of each word
to find the word with the longest length.
Return the longest word as output.
Step 2 Writing the solution in plain English
Problem: Find the longest word in the sentence
Step 3 Breaking the problem into chunks
Identifying the pieces of the solution to solve
the problem.
- Take input
- Validate input
- Split the sentence into words
- Compare the length of the words
Step 4
Creating
the flow /
writing
pseudocode
Step 4 Creating the flow / writing pseudocode
Problem: Find the longest word in the sentence
1. Read sentence
2. Validate input
3. Init longestWordLength as 0
4. Check that the sentence has a word to process read word
from the sentence as currentWord
5. Check currentWordLength is greater than
longestWordLength, if yes, then record currentWord as
longestWord and its length in longestWordLength
6. Repeat step 3 to 5 until sentence has words to process
7. Return longestWord
Step 5
Trace the solution with the test cases/dry run - define
the test cases
Test Input Expected Output
Invalid input Do not provide input,
Press enter
Sentence is not provided.
Provide single word Hello The longest word is: Hello
Provide sentence with
single longest word
Satyamev Jayate
Provide sentence with
multiple longest word
The first longest word will
be provided
Hi Ajay , Hi Uday
The longest word is: Satyamev
The longest word is: Ajay
Test sentence provided
in problem statement
The cat sat on the mat
with another cat
The longest word is: another
Problem: Find the longest word in the sentence
Step 6 Writing code
Problem: Find the longest word in the sentence
1 2 3
Problem: Find the longest word in the sentence
Test Input Expected Output
Invalid input Do not provide input,
Press enter
Sentence is not provided.
Provide single word Hello The longest word is: Hello
Provide sentence with
single longest word
Satyamev Jayate
Provide sentence with
multiple longest word
The first longest word will
be provided
Hi Ajay , Hi Uday
The longest word is: Satyamev
The longest word is: Ajay
Test sentence provided
in problem statement
The cat sat on the mat
with another cat
The longest word is: another
Step 7 Evaluate - Dry run
What we will cover in the next session
How to make your solution ready for
production deployment?
Is that an ideal Solution?
Tools you can use
Paper & Pencil draw.io
Eclipse
Spread sheet
Alright, Lets talk until you run
out of questions...SHOOT !
Follow on LinkedIn :
Thank You for your trust
We love making things better for you
Visit us on : mithi. com

More Related Content

What's hot

Everything you need to know about the ielts
Everything you need to know about the ieltsEverything you need to know about the ielts
Everything you need to know about the ielts
vaishalinagale
 
1 collins vocabulary_for_ielts_book
1 collins vocabulary_for_ielts_book1 collins vocabulary_for_ielts_book
1 collins vocabulary_for_ielts_book
Sinan Abdulhammed
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
GantsetsegS
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
GantsetsegS
 
Ket jecr
Ket jecrKet jecr
Ket jecr
Georgie1957
 
Certifications kenii
Certifications keniiCertifications kenii
Certifications kenii
chuponzzita
 
Week 4 presentations
Week 4  presentationsWeek 4  presentations
Week 4 presentations
SimonHotchkiss
 
Simple true or false
Simple true or falseSimple true or false
Simple true or false
YenYen Del Rosario
 
IELTS advanced grammar tips : Academic and General exam
IELTS advanced grammar tips : Academic and General examIELTS advanced grammar tips : Academic and General exam
IELTS advanced grammar tips : Academic and General exam
The Free School
 
True or false
True or falseTrue or false
True or false
sammy ang
 
IELTS Task 2 Agree or Disagree Lesson
IELTS Task 2 Agree or Disagree Lesson IELTS Task 2 Agree or Disagree Lesson
IELTS Task 2 Agree or Disagree Lesson
British Council
 
Pass the IELTS exam test today!
Pass the IELTS exam test today!Pass the IELTS exam test today!
Pass the IELTS exam test today!
firesky17
 
Week 4 lesson 1
Week 4 lesson 1Week 4 lesson 1
Week 4 lesson 1
SimonHotchkiss
 
How to learn IELTS Vocabulary (Collocations and Topic Specific Vocabulary)
How to learn IELTS Vocabulary (Collocations and Topic Specific Vocabulary)How to learn IELTS Vocabulary (Collocations and Topic Specific Vocabulary)
How to learn IELTS Vocabulary (Collocations and Topic Specific Vocabulary)
Ben Worthington
 
Ielts listening tips - Super Achievers Abroad Education
Ielts listening tips - Super Achievers Abroad EducationIelts listening tips - Super Achievers Abroad Education
Ielts listening tips - Super Achievers Abroad Education
Super Achievers Group
 
Ielts speaking free lessons & essential tips
Ielts speaking free lessons & essential tipsIelts speaking free lessons & essential tips
Ielts speaking free lessons & essential tips
Super Achievers Group
 

What's hot (17)

9780521528092ws
9780521528092ws9780521528092ws
9780521528092ws
 
Everything you need to know about the ielts
Everything you need to know about the ieltsEverything you need to know about the ielts
Everything you need to know about the ielts
 
1 collins vocabulary_for_ielts_book
1 collins vocabulary_for_ielts_book1 collins vocabulary_for_ielts_book
1 collins vocabulary_for_ielts_book
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Ket jecr
Ket jecrKet jecr
Ket jecr
 
Certifications kenii
Certifications keniiCertifications kenii
Certifications kenii
 
Week 4 presentations
Week 4  presentationsWeek 4  presentations
Week 4 presentations
 
Simple true or false
Simple true or falseSimple true or false
Simple true or false
 
IELTS advanced grammar tips : Academic and General exam
IELTS advanced grammar tips : Academic and General examIELTS advanced grammar tips : Academic and General exam
IELTS advanced grammar tips : Academic and General exam
 
True or false
True or falseTrue or false
True or false
 
IELTS Task 2 Agree or Disagree Lesson
IELTS Task 2 Agree or Disagree Lesson IELTS Task 2 Agree or Disagree Lesson
IELTS Task 2 Agree or Disagree Lesson
 
Pass the IELTS exam test today!
Pass the IELTS exam test today!Pass the IELTS exam test today!
Pass the IELTS exam test today!
 
Week 4 lesson 1
Week 4 lesson 1Week 4 lesson 1
Week 4 lesson 1
 
How to learn IELTS Vocabulary (Collocations and Topic Specific Vocabulary)
How to learn IELTS Vocabulary (Collocations and Topic Specific Vocabulary)How to learn IELTS Vocabulary (Collocations and Topic Specific Vocabulary)
How to learn IELTS Vocabulary (Collocations and Topic Specific Vocabulary)
 
Ielts listening tips - Super Achievers Abroad Education
Ielts listening tips - Super Achievers Abroad EducationIelts listening tips - Super Achievers Abroad Education
Ielts listening tips - Super Achievers Abroad Education
 
Ielts speaking free lessons & essential tips
Ielts speaking free lessons & essential tipsIelts speaking free lessons & essential tips
Ielts speaking free lessons & essential tips
 

Similar to Academy Webinar: Approaching a problem and developing an enduring solution

Solution Flow: Approaching a problem and developing an enduring solution
Solution Flow: Approaching a problem and developing an enduring solutionSolution Flow: Approaching a problem and developing an enduring solution
Solution Flow: Approaching a problem and developing an enduring solution
Mithi Software Technologies Pvt Ltd
 
Aptis Practice Book - Web Version
Aptis Practice Book - Web VersionAptis Practice Book - Web Version
Aptis Practice Book - Web Version
Lisa Graves
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
GantsetsegS
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
GantsetsegS
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
GantsetsegS
 
8977685.pdf
8977685.pdf8977685.pdf
8977685.pdf
marinagutier95
 
Class 17 online
Class 17 onlineClass 17 online
Class 17 online
kimpalmore
 
D17-EWRT 1A
D17-EWRT 1AD17-EWRT 1A
D17-EWRT 1A
Brian Malone
 
aptis-practice-book-for-students-ftu.pdf
aptis-practice-book-for-students-ftu.pdfaptis-practice-book-for-students-ftu.pdf
aptis-practice-book-for-students-ftu.pdf
KimTung3
 
Class 17 raw
Class 17 rawClass 17 raw
Class 17 raw
kimpalmore
 
Class 18 f online
Class 18 f onlineClass 18 f online
Class 18 f online
jordanlachance
 
D16-EWRT 1A
D16-EWRT 1AD16-EWRT 1A
D16-EWRT 1A
Brian Malone
 
FREE You Are The Course Book - Syllabus
FREE You Are The Course Book - SyllabusFREE You Are The Course Book - Syllabus
FREE You Are The Course Book - Syllabus
Purland Training
 
Lucy West- Accountable Talk
Lucy West- Accountable TalkLucy West- Accountable Talk
Lucy West- Accountable TalkPatrick Johnson
 
B2 First Certificate: FCE Speaking Course
B2 First Certificate: FCE Speaking CourseB2 First Certificate: FCE Speaking Course
B2 First Certificate: FCE Speaking Course
Student Languages
 
CAE Preparation Guide
CAE Preparation Guide CAE Preparation Guide
CAE Preparation Guide
Linnéa Grönqvist
 
Compound Words Module
Compound Words ModuleCompound Words Module
Compound Words Module
Deliris Montalvo
 
Language in the Math Classroom
Language in the Math ClassroomLanguage in the Math Classroom
Language in the Math Classroom
Stephen Best
 

Similar to Academy Webinar: Approaching a problem and developing an enduring solution (20)

Solution Flow: Approaching a problem and developing an enduring solution
Solution Flow: Approaching a problem and developing an enduring solutionSolution Flow: Approaching a problem and developing an enduring solution
Solution Flow: Approaching a problem and developing an enduring solution
 
Aptis Practice Book - Web Version
Aptis Practice Book - Web VersionAptis Practice Book - Web Version
Aptis Practice Book - Web Version
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
8977685.pdf
8977685.pdf8977685.pdf
8977685.pdf
 
Class 17 online
Class 17 onlineClass 17 online
Class 17 online
 
D17-EWRT 1A
D17-EWRT 1AD17-EWRT 1A
D17-EWRT 1A
 
aptis-practice-book-for-students-ftu.pdf
aptis-practice-book-for-students-ftu.pdfaptis-practice-book-for-students-ftu.pdf
aptis-practice-book-for-students-ftu.pdf
 
Class 17 raw
Class 17 rawClass 17 raw
Class 17 raw
 
Class 18 f online
Class 18 f onlineClass 18 f online
Class 18 f online
 
D16-EWRT 1A
D16-EWRT 1AD16-EWRT 1A
D16-EWRT 1A
 
Write concisely
Write conciselyWrite concisely
Write concisely
 
FREE You Are The Course Book - Syllabus
FREE You Are The Course Book - SyllabusFREE You Are The Course Book - Syllabus
FREE You Are The Course Book - Syllabus
 
Toeic3
Toeic3Toeic3
Toeic3
 
Lucy West- Accountable Talk
Lucy West- Accountable TalkLucy West- Accountable Talk
Lucy West- Accountable Talk
 
B2 First Certificate: FCE Speaking Course
B2 First Certificate: FCE Speaking CourseB2 First Certificate: FCE Speaking Course
B2 First Certificate: FCE Speaking Course
 
CAE Preparation Guide
CAE Preparation Guide CAE Preparation Guide
CAE Preparation Guide
 
Compound Words Module
Compound Words ModuleCompound Words Module
Compound Words Module
 
Language in the Math Classroom
Language in the Math ClassroomLanguage in the Math Classroom
Language in the Math Classroom
 

More from Mithi Software Technologies Pvt Ltd

Meeting your Compliance objectives with ease and without incurring a high cost
 Meeting your Compliance objectives with ease and without incurring a high cost  Meeting your Compliance objectives with ease and without incurring a high cost
Meeting your Compliance objectives with ease and without incurring a high cost
Mithi Software Technologies Pvt Ltd
 
Power up Digitalisation with Agile Business Communication and Data Management
Power up Digitalisation with Agile Business Communication and Data ManagementPower up Digitalisation with Agile Business Communication and Data Management
Power up Digitalisation with Agile Business Communication and Data Management
Mithi Software Technologies Pvt Ltd
 
Minimize Disruptions. Gain Agility with new path-breaking upgrades to our pla...
Minimize Disruptions. Gain Agility with new path-breaking upgrades to our pla...Minimize Disruptions. Gain Agility with new path-breaking upgrades to our pla...
Minimize Disruptions. Gain Agility with new path-breaking upgrades to our pla...
Mithi Software Technologies Pvt Ltd
 
Protect your business against loss of data and knowledge when employees leave
Protect your business against loss of data and knowledge when employees leaveProtect your business against loss of data and knowledge when employees leave
Protect your business against loss of data and knowledge when employees leave
Mithi Software Technologies Pvt Ltd
 
Vaultastic V4 released - Revamped easier UX, 47% savings on storage, higher p...
Vaultastic V4 released - Revamped easier UX, 47% savings on storage, higher p...Vaultastic V4 released - Revamped easier UX, 47% savings on storage, higher p...
Vaultastic V4 released - Revamped easier UX, 47% savings on storage, higher p...
Mithi Software Technologies Pvt Ltd
 
Preparing For Interviews In a Challenging Environment
Preparing For Interviews In a Challenging EnvironmentPreparing For Interviews In a Challenging Environment
Preparing For Interviews In a Challenging Environment
Mithi Software Technologies Pvt Ltd
 
Reinforce business continuity - Securely share files online with Ideolve
Reinforce business continuity - Securely share files online with IdeolveReinforce business continuity - Securely share files online with Ideolve
Reinforce business continuity - Securely share files online with Ideolve
Mithi Software Technologies Pvt Ltd
 
Which of the 6 methods of email forwarding is suitable and secure for your re...
Which of the 6 methods of email forwarding is suitable and secure for your re...Which of the 6 methods of email forwarding is suitable and secure for your re...
Which of the 6 methods of email forwarding is suitable and secure for your re...
Mithi Software Technologies Pvt Ltd
 
the Mithi culture code
the Mithi culture codethe Mithi culture code
the Mithi culture code
Mithi Software Technologies Pvt Ltd
 
How to choose the right company - By Navin Kabra
How to choose the right company - By Navin KabraHow to choose the right company - By Navin Kabra
How to choose the right company - By Navin Kabra
Mithi Software Technologies Pvt Ltd
 
How to choose the right company to start your career with!
How to choose the right company to start your career with!How to choose the right company to start your career with!
How to choose the right company to start your career with!
Mithi Software Technologies Pvt Ltd
 
Preparing for a life OF work
Preparing for a life OF workPreparing for a life OF work
Preparing for a life OF work
Mithi Software Technologies Pvt Ltd
 
Mithi Culture Code
Mithi Culture CodeMithi Culture Code
The Mithi Culture Code
The Mithi Culture CodeThe Mithi Culture Code
The Mithi Culture Code
Mithi Software Technologies Pvt Ltd
 
Webinar: 2018 Product Roadmap for Secure, Scalable, Productive Team Collabora...
Webinar: 2018 Product Roadmap for Secure, Scalable, Productive Team Collabora...Webinar: 2018 Product Roadmap for Secure, Scalable, Productive Team Collabora...
Webinar: 2018 Product Roadmap for Secure, Scalable, Productive Team Collabora...
Mithi Software Technologies Pvt Ltd
 
Back to Front Vision for Mithi's Collaboration Environment
Back to Front Vision for Mithi's Collaboration Environment Back to Front Vision for Mithi's Collaboration Environment
Back to Front Vision for Mithi's Collaboration Environment
Mithi Software Technologies Pvt Ltd
 
Accelerating Innovation: Mithi's Journey to the Cloud | AWS Summit Mumbai
Accelerating Innovation: Mithi's Journey to the Cloud | AWS Summit Mumbai Accelerating Innovation: Mithi's Journey to the Cloud | AWS Summit Mumbai
Accelerating Innovation: Mithi's Journey to the Cloud | AWS Summit Mumbai
Mithi Software Technologies Pvt Ltd
 
How Vaultastic Works
How Vaultastic WorksHow Vaultastic Works
Workplace Productivity through Effective Collaboration
Workplace Productivity through Effective CollaborationWorkplace Productivity through Effective Collaboration
Workplace Productivity through Effective Collaboration
Mithi Software Technologies Pvt Ltd
 
Mithi SkyConnect Advantage
Mithi SkyConnect AdvantageMithi SkyConnect Advantage
Mithi SkyConnect Advantage
Mithi Software Technologies Pvt Ltd
 

More from Mithi Software Technologies Pvt Ltd (20)

Meeting your Compliance objectives with ease and without incurring a high cost
 Meeting your Compliance objectives with ease and without incurring a high cost  Meeting your Compliance objectives with ease and without incurring a high cost
Meeting your Compliance objectives with ease and without incurring a high cost
 
Power up Digitalisation with Agile Business Communication and Data Management
Power up Digitalisation with Agile Business Communication and Data ManagementPower up Digitalisation with Agile Business Communication and Data Management
Power up Digitalisation with Agile Business Communication and Data Management
 
Minimize Disruptions. Gain Agility with new path-breaking upgrades to our pla...
Minimize Disruptions. Gain Agility with new path-breaking upgrades to our pla...Minimize Disruptions. Gain Agility with new path-breaking upgrades to our pla...
Minimize Disruptions. Gain Agility with new path-breaking upgrades to our pla...
 
Protect your business against loss of data and knowledge when employees leave
Protect your business against loss of data and knowledge when employees leaveProtect your business against loss of data and knowledge when employees leave
Protect your business against loss of data and knowledge when employees leave
 
Vaultastic V4 released - Revamped easier UX, 47% savings on storage, higher p...
Vaultastic V4 released - Revamped easier UX, 47% savings on storage, higher p...Vaultastic V4 released - Revamped easier UX, 47% savings on storage, higher p...
Vaultastic V4 released - Revamped easier UX, 47% savings on storage, higher p...
 
Preparing For Interviews In a Challenging Environment
Preparing For Interviews In a Challenging EnvironmentPreparing For Interviews In a Challenging Environment
Preparing For Interviews In a Challenging Environment
 
Reinforce business continuity - Securely share files online with Ideolve
Reinforce business continuity - Securely share files online with IdeolveReinforce business continuity - Securely share files online with Ideolve
Reinforce business continuity - Securely share files online with Ideolve
 
Which of the 6 methods of email forwarding is suitable and secure for your re...
Which of the 6 methods of email forwarding is suitable and secure for your re...Which of the 6 methods of email forwarding is suitable and secure for your re...
Which of the 6 methods of email forwarding is suitable and secure for your re...
 
the Mithi culture code
the Mithi culture codethe Mithi culture code
the Mithi culture code
 
How to choose the right company - By Navin Kabra
How to choose the right company - By Navin KabraHow to choose the right company - By Navin Kabra
How to choose the right company - By Navin Kabra
 
How to choose the right company to start your career with!
How to choose the right company to start your career with!How to choose the right company to start your career with!
How to choose the right company to start your career with!
 
Preparing for a life OF work
Preparing for a life OF workPreparing for a life OF work
Preparing for a life OF work
 
Mithi Culture Code
Mithi Culture CodeMithi Culture Code
Mithi Culture Code
 
The Mithi Culture Code
The Mithi Culture CodeThe Mithi Culture Code
The Mithi Culture Code
 
Webinar: 2018 Product Roadmap for Secure, Scalable, Productive Team Collabora...
Webinar: 2018 Product Roadmap for Secure, Scalable, Productive Team Collabora...Webinar: 2018 Product Roadmap for Secure, Scalable, Productive Team Collabora...
Webinar: 2018 Product Roadmap for Secure, Scalable, Productive Team Collabora...
 
Back to Front Vision for Mithi's Collaboration Environment
Back to Front Vision for Mithi's Collaboration Environment Back to Front Vision for Mithi's Collaboration Environment
Back to Front Vision for Mithi's Collaboration Environment
 
Accelerating Innovation: Mithi's Journey to the Cloud | AWS Summit Mumbai
Accelerating Innovation: Mithi's Journey to the Cloud | AWS Summit Mumbai Accelerating Innovation: Mithi's Journey to the Cloud | AWS Summit Mumbai
Accelerating Innovation: Mithi's Journey to the Cloud | AWS Summit Mumbai
 
How Vaultastic Works
How Vaultastic WorksHow Vaultastic Works
How Vaultastic Works
 
Workplace Productivity through Effective Collaboration
Workplace Productivity through Effective CollaborationWorkplace Productivity through Effective Collaboration
Workplace Productivity through Effective Collaboration
 
Mithi SkyConnect Advantage
Mithi SkyConnect AdvantageMithi SkyConnect Advantage
Mithi SkyConnect Advantage
 

Recently uploaded

OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 

Recently uploaded (20)

OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 

Academy Webinar: Approaching a problem and developing an enduring solution

  • 1. Approaching a problem and developing an enduring solution FEB 28 2019 3:00PM - 3:45PM IST Mithi Software Technologies SANDEEP SUKHIJA Tech Lead SANDIP SINGH Tech Lead
  • 2. What we covered in the last session Identified Gaps • Battling for marks and not skills • Confused on what language to hook on • Lack of practice
  • 3. What we covered in the last session How to bridge the gap • Practice • Learn in groups • Read code • Participate in coding contests
  • 4. Why this topic We understood that there is no substitute to being a good programmer to be industry ready. What we will cover in this session • Common Mistakes while attempting a problem • The process to build a near to ideal solution Approaching a problem and developing an enduring solution
  • 5. Gaps -Inability to code Problem -Find the longest word in the sentence
  • 6. Gaps - Misunderstanding the problem Problem - Find the frequency of the alphabets in the string
  • 7. Gaps - Jumping directly to code Problem - Find the frequency of the alphabets in the string
  • 8. Gaps - Not able to construct the flow Problem - Find the longest word in the sentence
  • 9. Gaps - Not working out multiple approaches to solve the problem Problem - Find the longest word in the sentence
  • 10. Gaps - Not validating the code before running - dry run Problem – Find the longest word in the sentence
  • 11. Gaps • Inability to code • Misunderstanding the problem • Jumping directly to code • Not able to construct the flow • Dry run • Not working out multiple approaches to solve a problem
  • 12. • Understand the problem • Write the solution in plain English • Break the problem into chunks • Create a flow / write a pseudo-code • Trace the solution with the test cases/dry run - define the test cases • Write code • Evaluate - Dry run Building a near to ideal solution
  • 13. Problem: Find the longest word in the sentence Input String : "The cat sat on the mat with another cat" Step 1 Understanding the problem
  • 14. Problem: Find the longest word in the sentence To find the longest word we need to accept the input from the user, and break the sentence into words. Compare the length of each word to find the word with the longest length. Return the longest word as output. Step 2 Writing the solution in plain English
  • 15. Problem: Find the longest word in the sentence Step 3 Breaking the problem into chunks Identifying the pieces of the solution to solve the problem. - Take input - Validate input - Split the sentence into words - Compare the length of the words
  • 16. Step 4 Creating the flow / writing pseudocode
  • 17. Step 4 Creating the flow / writing pseudocode Problem: Find the longest word in the sentence 1. Read sentence 2. Validate input 3. Init longestWordLength as 0 4. Check that the sentence has a word to process read word from the sentence as currentWord 5. Check currentWordLength is greater than longestWordLength, if yes, then record currentWord as longestWord and its length in longestWordLength 6. Repeat step 3 to 5 until sentence has words to process 7. Return longestWord
  • 18. Step 5 Trace the solution with the test cases/dry run - define the test cases Test Input Expected Output Invalid input Do not provide input, Press enter Sentence is not provided. Provide single word Hello The longest word is: Hello Provide sentence with single longest word Satyamev Jayate Provide sentence with multiple longest word The first longest word will be provided Hi Ajay , Hi Uday The longest word is: Satyamev The longest word is: Ajay Test sentence provided in problem statement The cat sat on the mat with another cat The longest word is: another Problem: Find the longest word in the sentence
  • 19. Step 6 Writing code Problem: Find the longest word in the sentence 1 2 3
  • 20. Problem: Find the longest word in the sentence Test Input Expected Output Invalid input Do not provide input, Press enter Sentence is not provided. Provide single word Hello The longest word is: Hello Provide sentence with single longest word Satyamev Jayate Provide sentence with multiple longest word The first longest word will be provided Hi Ajay , Hi Uday The longest word is: Satyamev The longest word is: Ajay Test sentence provided in problem statement The cat sat on the mat with another cat The longest word is: another Step 7 Evaluate - Dry run
  • 21. What we will cover in the next session How to make your solution ready for production deployment? Is that an ideal Solution?
  • 22. Tools you can use Paper & Pencil draw.io Eclipse Spread sheet
  • 23. Alright, Lets talk until you run out of questions...SHOOT !
  • 24. Follow on LinkedIn : Thank You for your trust We love making things better for you Visit us on : mithi. com