Skip to content

JackSacali/DataStructures

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

DataStructures

Lesson 1 : Arrays, Stacks and Queues

Pre-Lesson

Pre lesson 1

Content

Introduction to Data Structures

  • What is an Algorithm
  • Why Data Structures
  • Stack problem: Evaluate a fully bracketed mathematical expression ((a+b)*c)
  • Introduction to Linked List

Lesson 2 : Linked List, Sorting Algorithms and Algorithm complexities

Pre-Lesson

  • Finish implementation of Linked List: Append(), Display(), Insert() and Delete()
  • Find if a linked list has a loop (or a cycle)
  • Find the average of all numbers in a Linked List
  • Implement Stack with Linked List
  • Implement Stack using Queues

Content

  • Introduction to Doubly Linked List
  • Insertion sort : O(n2)
  • Linear search in a List (O(n))
  • Binary search in a sorted list (O(log(n)))
  • Linked List Problem : Find if the Linked List has all unique time

Lesson 3 : Trees, Graphs, Recursive Algorithms

Pre-Lesson

  • Study and implement selection sort
  • Analyze the complexity of a given algorithm and improve it
  • Linked List problem: Reverse the linked list

Content

  • Reverse the linked list with recursion
  • Introduction to trees: Binary tree, Binary Search Tree
  • Tree Traversals: In-Order, Post-Order and Pre-Order
  • Tree Problem: Find the depth of the tree
  • Introduction to Graphs : Data structures for graph

Homework

  • Post-Order traversal without recursion (use Stacks)
  • Level-wise traversal without recursion (use Queues)

About

Algorithms and Data structures course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%