SlideShare a Scribd company logo
1 of 44
lgorithms
              ures           and A
       S truct
Data
                                        b
                                - Gharee
                    a   m A. El
          D r.Haith
a l Lec ture
Fin
                       hareeb
              ham El-G
      Dr.Hait
Conclusion
!   Where have we been?

!   What have we learned?

!   Why we have taken this path?

!   Where to go from here?
we be en?
 h ere h ave
W                             ham El
                                     -Ghareeb
                     – Dr.Hait
    Final   L ecture
Fact 1
!   2nd year Faculty of Computers Student:
  !   Loves Programming, Hopefully!
  !   Doesn’t know about Programming!
  !   Hates Programming!
Data Structures and Algorithms

!   Programming Language Independent
!   C# and Java are the most widely used
    Programming Languages
  !   They are most likely similar
!   We have chosen C# as you might be familiar
!   We have introduced Python for Novice
Fact 2
!   2nd Year Faculty of Computers Student:
  !   Doesn’t Read / Research
  !   Doesn’t Write Code
  !   Doesn’t Co-operate with each other
Data Structures and Algorithms

!   Delivery of Reports (one or two)

!   Delivery of Projects, as Bonus

!   Providing Lecture Notes online

!   Study Groups

!   Student of the Week
Fact 3
!   2nd Year Faculty of Computers Student:
  !   Not used to ‘expressive’ ‘open ended’ questions
Data Structures and Algorithms

!   Mid-term Exam
learn ed?
   t have we
Wha                                  -Ghareeb
                              ham El
                     – Dr.Hait
    Final   L ecture
L ectu res?
How Many                              hareeb
                                    -G
                             ham El
                    – Dr.Hait
   Final   L ecture
2 Lect ures
        1
                                 -Ghareeb
                          ham El
                 – Dr.Hait
Final   L ecture
L e c ture 1
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
Topics
!   Welcome to Data Structures and Algorithms
  !   Importance of the Subject
!   Recipe to be a Programmer:
  !   10K + Hours
  !   Peter Norvig
L e c ture 2
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
Programming Languages are
Not the Same
!   Different Programming Language Categories

!   19 Different Topics for Comparison

!   C#, Java, C++ They are the same!

!   Quick intro to C#
L e c ture 3
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
Collections and Generics
! Slideshare mentioned your access, Thank You J
!   Collections and Collection Types
!   Collection Properties and Methods
!   Generics
!   Evaluating Data Structures Performance
!   Chart
L e c ture 4
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
String Theory
!   Strings are Collections
!   Strings are immutable
!   String and string are equivalent
!   Strings are Reference Types
!   Strings are Nullable
!   Strings have built-in Methods and Properties
L e c ture 5
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
Arrays and Arraylists
!   Array is Class
!   Arrays are indexed collections of data
!   Vector, Multidimensional, Parameter, Jagged
! Arraylist is an Array that grows Dynamically
! Arraylist Properties and Methods
!   Memory Management of Arrays
L e c ture 6
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
Stacks and Queues
!   LIFO vs. FIFO

!   Programming Languages vs. Operating Systems
  !   Push, Pop, Peek, Count
  ! Enqueue, Dequeue, Count
!   Operations, Properties, Remarks
L e c ture 7
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
Basic Comparison Sort
!   Sorting

!   Order Theory

!   Weak, Standard Order

!   Sorting Algorithm

!   Bubble, Selection, Insertion Sort
L e c ture 8
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
Algorithm Analysis
Searching
!   Algorithms, Execution Time, Complexity Analysis
!   Growth Rates
!   Big-O Notation
!   Classes of Algorithm
!   Code Evaluation
!   Searching: Linear, and Binary Search
L e c ture 9
                                       -Ghareeb
                                ham El
                       – Dr.Hait
      Final   L ecture
Data Structures in Python
!   Crash Course      !   Lists          !   Set
  !   Numbers            !   As Stacks   !   Dictionaries
                         !   As Queues
  !   Strings
                      !   Functional     !   Looping
  !   Lists               Programming
  !   Control Flows
                         !   Map
  !   Functions          !   Reduce
!   Coding Style         !   Filter
cture 10
Le                             ham El
                                      -Ghareeb
                      – Dr.Hait
     Final   L ecture
Recursion
Binary Search Tree
!   Recursion: Recursive Function and Solutions

!   Trees: Tree Structure

!   Binary Trees

!   Tree Traversals: Pre-Order, In-Order, Post-Order,
    Breadth First
cture 11
Le                             ham El
                                      -Ghareeb
                      – Dr.Hait
     Final   L ecture
Expression Trees
!   Expression Trees

!   Heap

!   Heap Sort

!   Moore’s Code
cture 12
Le                             ham El
                                      -Ghareeb
                      – Dr.Hait
     Final   L ecture
Conclusion
!   Where have we been?

!   What have we learned?

!   Why we have taken this path?

!   Where to go from here?
this Path?
         ve ta          ken
Why we ha                               hareeb
                                      -G
                               ham El
                      – Dr.Hait
     Final   L ecture
Path
!   Focusing on Basics of C# Programming
    Language

!   Stepping Slowly and Smoothly in Data
    Structures and Algorithms

!   Mixing Object Oriented Programming Language
    and Interpreted Functional Programming
    Language
Path (Cont.)
!   Highlighting e-Learning and Social Networks in
    Communication:
  !   Online Course Page
  !   Twitter and G+
!   Reports Delivery
mh ere?
         to G O fro
W here                               -Ghareeb
                              ham El
                     – Dr.Hait
    Final   L ecture
Professional Programmer
!   Practice, Practice, Practice

!   Keep yourself Updated

!   Follow online Resources

!   Become Master of One Programming Language

!   Become Familiar with Different Programming
    Languages
Algorithmic Thinking
!   Focus on Programming Language independent
    Techniques

!   Participate in Online and Faculty Communities

!   Become Partner with worldwide consortiums

!   Participate in Competitions

!   Read online Magazines
DSA - 2012 - Conclusion

More Related Content

Viewers also liked

Modelagem Analítica – Queueing Theory (Part I)
Modelagem Analítica – Queueing Theory (Part I)Modelagem Analítica – Queueing Theory (Part I)
Modelagem Analítica – Queueing Theory (Part I)
Joao Galdino Mello de Souza
 
Review of basic data structures
Review of basic data structuresReview of basic data structures
Review of basic data structures
Deepa Rani
 
EuP Directive About Non Directional Domestic Lighting
EuP Directive About Non Directional Domestic LightingEuP Directive About Non Directional Domestic Lighting
EuP Directive About Non Directional Domestic Lighting
Heena Modi
 
Happines is a voyage
Happines is a voyageHappines is a voyage
Happines is a voyage
IYAPPAN K
 
24 Tirthankaras
24 Tirthankaras24 Tirthankaras
24 Tirthankaras
Heena Modi
 
Pictures Of Zanzibar
Pictures Of ZanzibarPictures Of Zanzibar
Pictures Of Zanzibar
Heena Modi
 
Software Testing Services
Software Testing ServicesSoftware Testing Services
Software Testing Services
Fuad Mak
 
Fond memories of Zanzibar
Fond memories of ZanzibarFond memories of Zanzibar
Fond memories of Zanzibar
Heena Modi
 

Viewers also liked (20)

Modelagem Analítica – Queueing Theory (Part I)
Modelagem Analítica – Queueing Theory (Part I)Modelagem Analítica – Queueing Theory (Part I)
Modelagem Analítica – Queueing Theory (Part I)
 
Review of basic data structures
Review of basic data structuresReview of basic data structures
Review of basic data structures
 
English 9 - Linear vs. Non-Linear Text
English 9 - Linear vs. Non-Linear TextEnglish 9 - Linear vs. Non-Linear Text
English 9 - Linear vs. Non-Linear Text
 
Dairy farms
Dairy farmsDairy farms
Dairy farms
 
EuP Directive About Non Directional Domestic Lighting
EuP Directive About Non Directional Domestic LightingEuP Directive About Non Directional Domestic Lighting
EuP Directive About Non Directional Domestic Lighting
 
Im Mobile Who's Coming With Me
Im Mobile Who's Coming With MeIm Mobile Who's Coming With Me
Im Mobile Who's Coming With Me
 
Happines is a voyage
Happines is a voyageHappines is a voyage
Happines is a voyage
 
24 Tirthankaras
24 Tirthankaras24 Tirthankaras
24 Tirthankaras
 
Harsh stock market
Harsh stock marketHarsh stock market
Harsh stock market
 
Pictures Of Zanzibar
Pictures Of ZanzibarPictures Of Zanzibar
Pictures Of Zanzibar
 
Porting the QALL-ME framework to Romanian
Porting the QALL-ME framework to RomanianPorting the QALL-ME framework to Romanian
Porting the QALL-ME framework to Romanian
 
Software Testing Services
Software Testing ServicesSoftware Testing Services
Software Testing Services
 
Fond memories of Zanzibar
Fond memories of ZanzibarFond memories of Zanzibar
Fond memories of Zanzibar
 
Jean Fares Pret-A-Porter, 2013 collection: Behind the scenes.
Jean Fares Pret-A-Porter, 2013 collection: Behind the scenes.Jean Fares Pret-A-Porter, 2013 collection: Behind the scenes.
Jean Fares Pret-A-Porter, 2013 collection: Behind the scenes.
 
ICC/Decision Services...Beyond Customer Service...What Mystery Shopping Can D...
ICC/Decision Services...Beyond Customer Service...What Mystery Shopping Can D...ICC/Decision Services...Beyond Customer Service...What Mystery Shopping Can D...
ICC/Decision Services...Beyond Customer Service...What Mystery Shopping Can D...
 
Buffalo Social Media Summit Presentation
Buffalo Social Media Summit PresentationBuffalo Social Media Summit Presentation
Buffalo Social Media Summit Presentation
 
Kansas sights
Kansas sightsKansas sights
Kansas sights
 
Ph.D. Registeration seminar
Ph.D. Registeration seminarPh.D. Registeration seminar
Ph.D. Registeration seminar
 
Haitham
HaithamHaitham
Haitham
 
Attitude
AttitudeAttitude
Attitude
 

Similar to DSA - 2012 - Conclusion

S-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
S-CUBE LP: Executing the HOCL: Concept of a Chemical InterpreterS-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
S-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
virtual-campus
 
Big Data Spain 2017 - Deriving Actionable Insights from High Volume Media St...
Big Data Spain 2017  - Deriving Actionable Insights from High Volume Media St...Big Data Spain 2017  - Deriving Actionable Insights from High Volume Media St...
Big Data Spain 2017 - Deriving Actionable Insights from High Volume Media St...
Apache OpenNLP
 

Similar to DSA - 2012 - Conclusion (20)

Online Hyperparameter Meta-Learning with Hypergradient Distillation
Online Hyperparameter Meta-Learning with Hypergradient DistillationOnline Hyperparameter Meta-Learning with Hypergradient Distillation
Online Hyperparameter Meta-Learning with Hypergradient Distillation
 
NLP in Practice - Part I
NLP in Practice - Part INLP in Practice - Part I
NLP in Practice - Part I
 
NOVA Data Science Meetup 1/19/2017 - Presentation 2
NOVA Data Science Meetup 1/19/2017 - Presentation 2NOVA Data Science Meetup 1/19/2017 - Presentation 2
NOVA Data Science Meetup 1/19/2017 - Presentation 2
 
Practical NLP with Lisp
Practical NLP with LispPractical NLP with Lisp
Practical NLP with Lisp
 
Research data management for medical data with pyradigm
Research data management for medical data with pyradigmResearch data management for medical data with pyradigm
Research data management for medical data with pyradigm
 
S-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
S-CUBE LP: Executing the HOCL: Concept of a Chemical InterpreterS-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
S-CUBE LP: Executing the HOCL: Concept of a Chemical Interpreter
 
FEC2017-Introduction-to-programming
FEC2017-Introduction-to-programmingFEC2017-Introduction-to-programming
FEC2017-Introduction-to-programming
 
groovy & grails - lecture 1
groovy & grails - lecture 1groovy & grails - lecture 1
groovy & grails - lecture 1
 
Intro
IntroIntro
Intro
 
Intro
IntroIntro
Intro
 
Natural language processing: feature extraction
Natural language processing: feature extractionNatural language processing: feature extraction
Natural language processing: feature extraction
 
The Latest Advances in Patent Machine Translation
The Latest Advances in Patent Machine TranslationThe Latest Advances in Patent Machine Translation
The Latest Advances in Patent Machine Translation
 
Mattingly "Text and Data Mining: Building Data Driven Applications"
Mattingly "Text and Data Mining: Building Data Driven Applications"Mattingly "Text and Data Mining: Building Data Driven Applications"
Mattingly "Text and Data Mining: Building Data Driven Applications"
 
"Machine Translation 101" and the Challenge of Patents
"Machine Translation 101" and the Challenge of Patents"Machine Translation 101" and the Challenge of Patents
"Machine Translation 101" and the Challenge of Patents
 
Knowledge base system appl. p 1,2-ver1
Knowledge base system appl.  p 1,2-ver1Knowledge base system appl.  p 1,2-ver1
Knowledge base system appl. p 1,2-ver1
 
Reflective Plan Examples
Reflective Plan ExamplesReflective Plan Examples
Reflective Plan Examples
 
Big Data Spain 2017 - Deriving Actionable Insights from High Volume Media St...
Big Data Spain 2017  - Deriving Actionable Insights from High Volume Media St...Big Data Spain 2017  - Deriving Actionable Insights from High Volume Media St...
Big Data Spain 2017 - Deriving Actionable Insights from High Volume Media St...
 
Natural language processing (NLP) introduction
Natural language processing (NLP) introductionNatural language processing (NLP) introduction
Natural language processing (NLP) introduction
 
Nlp presentation
Nlp presentationNlp presentation
Nlp presentation
 
Natural Language Processing in Artificial Intelligence - Codeup #5 - PayU
Natural Language Processing in Artificial Intelligence  - Codeup #5 - PayU Natural Language Processing in Artificial Intelligence  - Codeup #5 - PayU
Natural Language Processing in Artificial Intelligence - Codeup #5 - PayU
 

More from Haitham El-Ghareeb

Lecture 9 - DSA - Python Data Structures
Lecture 9 - DSA - Python Data StructuresLecture 9 - DSA - Python Data Structures
Lecture 9 - DSA - Python Data Structures
Haitham El-Ghareeb
 
Data Structures - Lecture 8 - Study Notes
Data Structures - Lecture 8 - Study NotesData Structures - Lecture 8 - Study Notes
Data Structures - Lecture 8 - Study Notes
Haitham El-Ghareeb
 
Lecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic SortingLecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic Sorting
Haitham El-Ghareeb
 
Research Methodologies - Lecture 02
Research Methodologies - Lecture 02Research Methodologies - Lecture 02
Research Methodologies - Lecture 02
Haitham El-Ghareeb
 

More from Haitham El-Ghareeb (20)

مختصر وحدة التعلم الذاتي 2015
مختصر وحدة التعلم الذاتي 2015مختصر وحدة التعلم الذاتي 2015
مختصر وحدة التعلم الذاتي 2015
 
وحدة التعلم الذاتي 2015
وحدة التعلم الذاتي 2015وحدة التعلم الذاتي 2015
وحدة التعلم الذاتي 2015
 
NoSQL Databases, Not just a Buzzword
NoSQL Databases, Not just a Buzzword NoSQL Databases, Not just a Buzzword
NoSQL Databases, Not just a Buzzword
 
EMC Academic Alliance Presentation
EMC Academic Alliance PresentationEMC Academic Alliance Presentation
EMC Academic Alliance Presentation
 
Lecture 9 - DSA - Python Data Structures
Lecture 9 - DSA - Python Data StructuresLecture 9 - DSA - Python Data Structures
Lecture 9 - DSA - Python Data Structures
 
Data Structures - Lecture 8 - Study Notes
Data Structures - Lecture 8 - Study NotesData Structures - Lecture 8 - Study Notes
Data Structures - Lecture 8 - Study Notes
 
Lect07
Lect07Lect07
Lect07
 
Lecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic SortingLecture 07 Data Structures - Basic Sorting
Lecture 07 Data Structures - Basic Sorting
 
LectureNotes-06-DSA
LectureNotes-06-DSALectureNotes-06-DSA
LectureNotes-06-DSA
 
LectureNotes-05-DSA
LectureNotes-05-DSALectureNotes-05-DSA
LectureNotes-05-DSA
 
LectureNotes-04-DSA
LectureNotes-04-DSALectureNotes-04-DSA
LectureNotes-04-DSA
 
LectureNotes-03-DSA
LectureNotes-03-DSALectureNotes-03-DSA
LectureNotes-03-DSA
 
LectureNotes-02-DSA
LectureNotes-02-DSALectureNotes-02-DSA
LectureNotes-02-DSA
 
LectureNotes-01-DSA
LectureNotes-01-DSALectureNotes-01-DSA
LectureNotes-01-DSA
 
Lecture-05-DSA
Lecture-05-DSALecture-05-DSA
Lecture-05-DSA
 
Learn Latex
Learn LatexLearn Latex
Learn Latex
 
Research Methodologies - Lecture 02
Research Methodologies - Lecture 02Research Methodologies - Lecture 02
Research Methodologies - Lecture 02
 
DSA-Lecture-05
DSA-Lecture-05DSA-Lecture-05
DSA-Lecture-05
 
DSA - Lecture 04
DSA - Lecture 04DSA - Lecture 04
DSA - Lecture 04
 
DSA - Lecture 03
DSA - Lecture 03DSA - Lecture 03
DSA - Lecture 03
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

DSA - 2012 - Conclusion

  • 1. lgorithms ures and A S truct Data b - Gharee a m A. El D r.Haith
  • 2. a l Lec ture Fin hareeb ham El-G Dr.Hait
  • 3. Conclusion !   Where have we been? !   What have we learned? !   Why we have taken this path? !   Where to go from here?
  • 4. we be en? h ere h ave W ham El -Ghareeb – Dr.Hait Final L ecture
  • 5. Fact 1 !   2nd year Faculty of Computers Student: !   Loves Programming, Hopefully! !   Doesn’t know about Programming! !   Hates Programming!
  • 6. Data Structures and Algorithms !   Programming Language Independent !   C# and Java are the most widely used Programming Languages !   They are most likely similar !   We have chosen C# as you might be familiar !   We have introduced Python for Novice
  • 7. Fact 2 !   2nd Year Faculty of Computers Student: !   Doesn’t Read / Research !   Doesn’t Write Code !   Doesn’t Co-operate with each other
  • 8. Data Structures and Algorithms !   Delivery of Reports (one or two) !   Delivery of Projects, as Bonus !   Providing Lecture Notes online !   Study Groups !   Student of the Week
  • 9. Fact 3 !   2nd Year Faculty of Computers Student: !   Not used to ‘expressive’ ‘open ended’ questions
  • 10. Data Structures and Algorithms !   Mid-term Exam
  • 11. learn ed? t have we Wha -Ghareeb ham El – Dr.Hait Final L ecture
  • 12. L ectu res? How Many hareeb -G ham El – Dr.Hait Final L ecture
  • 13. 2 Lect ures 1 -Ghareeb ham El – Dr.Hait Final L ecture
  • 14. L e c ture 1 -Ghareeb ham El – Dr.Hait Final L ecture
  • 15. Topics !   Welcome to Data Structures and Algorithms !   Importance of the Subject !   Recipe to be a Programmer: !   10K + Hours !   Peter Norvig
  • 16. L e c ture 2 -Ghareeb ham El – Dr.Hait Final L ecture
  • 17. Programming Languages are Not the Same !   Different Programming Language Categories !   19 Different Topics for Comparison !   C#, Java, C++ They are the same! !   Quick intro to C#
  • 18. L e c ture 3 -Ghareeb ham El – Dr.Hait Final L ecture
  • 19. Collections and Generics ! Slideshare mentioned your access, Thank You J !   Collections and Collection Types !   Collection Properties and Methods !   Generics !   Evaluating Data Structures Performance !   Chart
  • 20. L e c ture 4 -Ghareeb ham El – Dr.Hait Final L ecture
  • 21. String Theory !   Strings are Collections !   Strings are immutable !   String and string are equivalent !   Strings are Reference Types !   Strings are Nullable !   Strings have built-in Methods and Properties
  • 22. L e c ture 5 -Ghareeb ham El – Dr.Hait Final L ecture
  • 23. Arrays and Arraylists !   Array is Class !   Arrays are indexed collections of data !   Vector, Multidimensional, Parameter, Jagged ! Arraylist is an Array that grows Dynamically ! Arraylist Properties and Methods !   Memory Management of Arrays
  • 24. L e c ture 6 -Ghareeb ham El – Dr.Hait Final L ecture
  • 25. Stacks and Queues !   LIFO vs. FIFO !   Programming Languages vs. Operating Systems !   Push, Pop, Peek, Count ! Enqueue, Dequeue, Count !   Operations, Properties, Remarks
  • 26. L e c ture 7 -Ghareeb ham El – Dr.Hait Final L ecture
  • 27. Basic Comparison Sort !   Sorting !   Order Theory !   Weak, Standard Order !   Sorting Algorithm !   Bubble, Selection, Insertion Sort
  • 28. L e c ture 8 -Ghareeb ham El – Dr.Hait Final L ecture
  • 29. Algorithm Analysis Searching !   Algorithms, Execution Time, Complexity Analysis !   Growth Rates !   Big-O Notation !   Classes of Algorithm !   Code Evaluation !   Searching: Linear, and Binary Search
  • 30. L e c ture 9 -Ghareeb ham El – Dr.Hait Final L ecture
  • 31. Data Structures in Python !   Crash Course !   Lists !   Set !   Numbers !   As Stacks !   Dictionaries !   As Queues !   Strings !   Functional !   Looping !   Lists Programming !   Control Flows !   Map !   Functions !   Reduce !   Coding Style !   Filter
  • 32. cture 10 Le ham El -Ghareeb – Dr.Hait Final L ecture
  • 33. Recursion Binary Search Tree !   Recursion: Recursive Function and Solutions !   Trees: Tree Structure !   Binary Trees !   Tree Traversals: Pre-Order, In-Order, Post-Order, Breadth First
  • 34. cture 11 Le ham El -Ghareeb – Dr.Hait Final L ecture
  • 35. Expression Trees !   Expression Trees !   Heap !   Heap Sort !   Moore’s Code
  • 36. cture 12 Le ham El -Ghareeb – Dr.Hait Final L ecture
  • 37. Conclusion !   Where have we been? !   What have we learned? !   Why we have taken this path? !   Where to go from here?
  • 38. this Path? ve ta ken Why we ha hareeb -G ham El – Dr.Hait Final L ecture
  • 39. Path !   Focusing on Basics of C# Programming Language !   Stepping Slowly and Smoothly in Data Structures and Algorithms !   Mixing Object Oriented Programming Language and Interpreted Functional Programming Language
  • 40. Path (Cont.) !   Highlighting e-Learning and Social Networks in Communication: !   Online Course Page !   Twitter and G+ !   Reports Delivery
  • 41. mh ere? to G O fro W here -Ghareeb ham El – Dr.Hait Final L ecture
  • 42. Professional Programmer !   Practice, Practice, Practice !   Keep yourself Updated !   Follow online Resources !   Become Master of One Programming Language !   Become Familiar with Different Programming Languages
  • 43. Algorithmic Thinking !   Focus on Programming Language independent Techniques !   Participate in Online and Faculty Communities !   Become Partner with worldwide consortiums !   Participate in Competitions !   Read online Magazines