GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - VarunS2002/Python-Data-Structures-Algorithms: Repository for Data Structures and Algorithms in Python.

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
binary_tree_traversal.py
binary_tree_traversal.py
 
 
factorial.py
factorial.py
 
 
factors.py
factors.py
 
 
matrix_operations.py
matrix_operations.py
 
 
pascal_triangle.py
pascal_triangle.py
 
 
permutations_combinations.py
permutations_combinations.py
 
 
queue.py
queue.py
 
 
searching.py
searching.py
 
 
sorting.py
sorting.py
 
 
sorting_time_comparison.py
sorting_time_comparison.py
 
 
stack.py
stack.py
 
 
tower_of_hanoi_stack.py
tower_of_hanoi_stack.py
 
 

Repository files navigation

Python-Data-Structures-Algorithms

Repository for Data Structures and Algorithms in Python.

These programs can be imported and used as modules in your programs.

Programs:

  1. matrix_operations.py

    • Mathematical operations on Matrices
    • Addition
    • Subtraction
    • Scalar Multiplication
    • Multiplication
    • Transpose
    • Identity
  2. stack.py

    • Stack Data Structure
    • Push
    • Pop
    • Top
  3. binary_tree_traversal.py

    • Traverse Binary Trees
    • Without any order
    • Pre order
    • In order
    • Post order
  4. tower_of_hanoi_stack.py

    • Tower of Hanoi puzzle
    • Display Steps
    • Uses Stack DS from stack.py as Rods
  5. factorial.py

    • Factorial of a Positive Integer
    • Iteration (for & while)
    • Recursion
  6. factors.py

    • Factors of Non-Zero Integers
    • Iteration (for & while)
    • Recursion
  7. permutations_combinations.py

    • Permutations & Combinations
    • nPr
    • nCr
    • Uses factorial.py for calculating factorials
  8. pascal_triangle.py

    • Pascal's Triangle
    • Uses permutations_combinations.py for calculating nCr
  9. sorting.py

    • Sorting List of Floats and/or Integers
    • Quick Sort
    • Merge Sort
    • Selection Sort
    • Insertion Sort
    • Bubble Sort
  10. sorting_time_comparison.py

    • Compare Time Complexity of Sorting Algorithms
    • Show Scores
    • Plot a Graph
    • Uses sorting.py for sorting algorithms
  11. searching.py

    • Searching within a List
    • Linear Search
    • Binary Search
    • Uses sorting.py for the sorting algorithm
  12. queue.py

    • Queue Data Structure
    • Single Ended Queue
    • Double Ended Queue
    • Enqueue
    • Dequeue

About

Repository for Data Structures and Algorithms in Python.

Topics

binary-tree-traversaldata-structures-algorithmsdouble-ended-queuefactors-factorialmatrix-calculationspascals-trianglepermutations-and-combinationspythonsearching-algorithmssorting-algorithm-visualizationsstacktower-of-hanoi

Resources

Readme
GPL-3.0 license
Activity

Stars

8 stars

Watchers

1 watching

Forks

4 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.