SlideShare une entreprise Scribd logo
1  sur  8
Presentation On
Data Structure
and Algorithms
Presented By : Shivam Kumar Singh
Contents
Recursion
Arrays
Searching
Sorting
Conclusion
RECURSION
What is Recursion ?
What is base cases in recursion ?
Types of Recursion.
Linear Recursion
Tail Recursion
Binary Recursion
Advantages of Recursion:
clean & simple code, suitable for typical problems like tree traversals.
Disadvantages of Recursion :
greater space & time requirements.
ARRAYS
Linear data structure that stores values of similar datatypes.
Operations on Arrays such as:
Searching : basic time O(N).
Insertion : basic time O(1).
Deletion : basic time O(N).
Advantages of Arrays:
random access of elements
better cache locality
SEARCHING
Types of searching algorithms:
Linear search : sequential traversal.
TC: O(N).
Binary search : for sorted arrays or list.
TC: O(log N).
Ternary Search : divide and conquer algorithm.
TC : O(logN)
SORTING
Types of sorting algorithms:
Bubble sort : In-place algorithm, swaps adjacent elements.
Selection sort : sorts by repeatedly finding max/min depending on the criterian.
Insertion sort : In-place sorting algorithm. Similar to sorting a desk of cards.
Quick sort : Divide and Conquer, partitions the given array around a pivot.
TC : Best Case: O(nlogN), Worst Case: O(N^2)
Merge sort : Divide and Conquer, divides the array into two halves and merges two sorted
halves. TC: O(nlogN) .
Conclusion
It was a great learning experience to complete this Self-Paced Course on Data
Structure and Algorithms. It was great fun and challenge to learn all these data
structures and algorithms right from the beginner to the advance level. The
course was quite well structured and was composed of various quizzes and
programming problems to strengthen the concepts of DSA. Data Structures and
Algorithms are the key part of all programming languages and are highly
focused in interviews/exams, So, I think that this course would be highly
beneficial to me.
Thank
You !

Contenu connexe

Similaire à DSAPresentation (11810976).pptx

Similaire à DSAPresentation (11810976).pptx (20)

Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB Computer Science Training,IT Training,CS Training,Com...
Algorithm Class at KPHB Computer Science Training,IT Training,CS Training,Com...Algorithm Class at KPHB Computer Science Training,IT Training,CS Training,Com...
Algorithm Class at KPHB Computer Science Training,IT Training,CS Training,Com...
 
Algorithm Class at KPHB C, CPP Training Institutes in KPHB, Kukatpally,Hyde...
Algorithm Class at KPHB C,  CPP Training Institutes in  KPHB, Kukatpally,Hyde...Algorithm Class at KPHB C,  CPP Training Institutes in  KPHB, Kukatpally,Hyde...
Algorithm Class at KPHB C, CPP Training Institutes in KPHB, Kukatpally,Hyde...
 
Algorithm Class is a Training Institute on C, C++, CPP, DS, JAVA, data struct...
Algorithm Class is a Training Institute on C, C++, CPP, DS, JAVA, data struct...Algorithm Class is a Training Institute on C, C++, CPP, DS, JAVA, data struct...
Algorithm Class is a Training Institute on C, C++, CPP, DS, JAVA, data struct...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.
Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.
Algorithm Class at KPHB C, C++ Training Institute KPHB, Kukatpally, Hyderabad.
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class is a Training Institute on C, C++, CPP, DS, JAVA, data struct...
Algorithm Class is a Training Institute on C, C++, CPP, DS, JAVA, data struct...Algorithm Class is a Training Institute on C, C++, CPP, DS, JAVA, data struct...
Algorithm Class is a Training Institute on C, C++, CPP, DS, JAVA, data struct...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 
Algorithm Class at KPHB Computer Science Training,IT Training,CS Training,Com...
Algorithm Class at KPHB Computer Science Training,IT Training,CS Training,Com...Algorithm Class at KPHB Computer Science Training,IT Training,CS Training,Com...
Algorithm Class at KPHB Computer Science Training,IT Training,CS Training,Com...
 
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
Algorithm Class at KPHB C, c++, ds,cpp,java,data structures training institut...
 

Dernier

VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptrcbcrtm
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 

Dernier (20)

VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.ppt
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 

DSAPresentation (11810976).pptx

  • 1. Presentation On Data Structure and Algorithms Presented By : Shivam Kumar Singh
  • 3. RECURSION What is Recursion ? What is base cases in recursion ? Types of Recursion. Linear Recursion Tail Recursion Binary Recursion Advantages of Recursion: clean & simple code, suitable for typical problems like tree traversals. Disadvantages of Recursion : greater space & time requirements.
  • 4. ARRAYS Linear data structure that stores values of similar datatypes. Operations on Arrays such as: Searching : basic time O(N). Insertion : basic time O(1). Deletion : basic time O(N). Advantages of Arrays: random access of elements better cache locality
  • 5. SEARCHING Types of searching algorithms: Linear search : sequential traversal. TC: O(N). Binary search : for sorted arrays or list. TC: O(log N). Ternary Search : divide and conquer algorithm. TC : O(logN)
  • 6. SORTING Types of sorting algorithms: Bubble sort : In-place algorithm, swaps adjacent elements. Selection sort : sorts by repeatedly finding max/min depending on the criterian. Insertion sort : In-place sorting algorithm. Similar to sorting a desk of cards. Quick sort : Divide and Conquer, partitions the given array around a pivot. TC : Best Case: O(nlogN), Worst Case: O(N^2) Merge sort : Divide and Conquer, divides the array into two halves and merges two sorted halves. TC: O(nlogN) .
  • 7. Conclusion It was a great learning experience to complete this Self-Paced Course on Data Structure and Algorithms. It was great fun and challenge to learn all these data structures and algorithms right from the beginner to the advance level. The course was quite well structured and was composed of various quizzes and programming problems to strengthen the concepts of DSA. Data Structures and Algorithms are the key part of all programming languages and are highly focused in interviews/exams, So, I think that this course would be highly beneficial to me.