Giter Club home page Giter Club logo

data-structures-2-notes's Introduction

Welcome to Data Structures II

Course Logistics

  • lecturer: Prof. Dr. Amr El-Masry
  • T.A:
    • Eng. Sami Mamdouh
    • Eng. Mohamed Ibrahim
    • Eng. Mina Shafik

Course Content

  • Complexity Analysis
  • Sorting
  • Priority Queues
    • implementation with heaps
  • Balanced Trees
    • AVL Trees
  • Hashing
  • File Structure
    • B-Trees
  • Graphs
    • Traversal
    • Minimum Spanning Trees
    • Shortest Path

Grading Policy

References

CLRS, Introduction to Algorithms, 3rd Edition
supplmentary reference: [Mathematics for Computer Science][mathcs] [mathcs]: https://www.cs.princeton.edu/courses/archive/fall06/cos341/handouts/mathcs.pdf [asymcheatsheet]: http://web.mit.edu/broder/Public/asymptotics-cheatsheet.pdf

Table of Content

Week 1

Complexity Analysis

Computer scientists make heavy use of a specialized asymptotic notation to describe the growth of functions approximately. The notation involves six weird little symbols.

see the [mathematics for computer science][mathcs] reference section 11.3 and the [asymtotics cheat sheet][asymcheatsheet] for more details

Week 2

Priority Queues

Here is the definition of a priority queue as described in CLRS, section 6.5
A priority queue is a data structure for maintaining a set S of elements, each with an associated value called a key. A max-priority queue supports the following operations:

  • INSERT(S, x)
    inserts the element x into the set S, which is equivalent to the operation S = S U {x}. (U means union)
  • MAXIMUM(S)
    returns the element of S with the largest key.
  • EXTRACT-MAX(S)
    removes and returns the element of S with the largest key.
  • INCREASE-KEY(S, x, k)
    increases the value of element xโ€™s key to the new value k, which is assumed to be at least as large as xโ€™s current key value.

Priority Queues implementation with Heaps

Solving Recurrence Relations

Week 3

Sorting Algorithms

data-structures-2-notes's People

Contributors

abdelrahmanabdelnabi avatar

Watchers

James Cloos avatar  avatar Louay Morsi avatar Ahmed Siam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.