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 - spignelon/python: Python algorithms, assignments and practicals

BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
algorithms
algorithms
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
armstrong.py
armstrong.py
 
 
ascii.py
ascii.py
 
 
elementlswap.py
elementlswap.py
 
 
facfibo.py
facfibo.py
 
 
larray.py
larray.py
 
 
rmelist.py
rmelist.py
 
 
rmnthword.py
rmnthword.py
 
 
splitrevarray.py
splitrevarray.py
 
 

Repository files navigation

Python

Python practice, assignments and practicals


Programs

  1. Python Program for factorial and fibonacci of a number. View
  2. Python Program to check Armstrong Number. View
  3. Program to print ASCII Value of a character. View
  4. Python Program to create a function that finds the largest element in an array. View
  5. Python Program to Split the array and add the first part to the end. View
  6. Python program to swap two elements in a list. View
  7. Python program to remove the Nth occurrence of the given word. View
  8. Remove multiple elements from a list in Python. View

Algorithms

The following algorithms are available in the algorithms directory:

Brute Force Sorting

  • Implements a brute-force sorting algorithm.
  • View Source Code

Bubble Sort

  • Implements the bubble sort algorithm.
  • View Source Code

Fractional Knapsack

  • Solves the fractional knapsack problem.
  • View Source Code

Mice into Holes

  • Solves the Mice into Holes problem.
  • View Source Code

Insertion Sort

  • Implements the insertion sort algorithm.
  • View Source Code

Iterative Binary Search

  • Implements the binary search algorithm iteratively.
  • View Source Code

Linear Search

  • Implements the linear search algorithm.
  • View Source Code

Linked List

  • Implements a linked list data structure.
  • View Source Code

Matrix Multiplication

  • Performs matrix multiplication.
  • View Source Code

Merge Sort Optimized

  • Implements the merge sort algorithm with optimized merging.
  • View Source Code

Merge Sort

  • Implements the merge sort algorithm.
  • View Source Code

Merging Sorted Arrays

  • Merges two sorted arrays.
  • View Source Code

Palindromic Matrix Paths

  • Finds palindromic paths in a matrix using dynamic programming.
  • View Source Code

Recursive Permutation

  • Generates permutations recursively.
  • View Source Code

Recursive Factorial

  • Calculates factorial using recursion.
  • View Source Code

Recursive Binary Search

  • Implements the binary search algorithm recursively.
  • View Source Code

Strassen's Algorithm (Recursive)

  • Implements Strassen's algorithm for matrix multiplication recursively.
  • View Source Code

Strassen's Algorithm (Iterative)

  • Implements Strassen's algorithm for matrix multiplication iteratively.
  • View Source Code

Traveling Salesman Problem (Dynamic Programming)

  • Solves the Traveling Salesman Problem using dynamic programming.
  • View Source Code

Ugly Number (Dynamic Programming)

  • Finds the nth ugly number using dynamic programming.
  • View Source Code

Ugly Numbers

  • Generates ugly numbers.
  • View Source Code

For detailed explanations and implementations of the above algorithms, please refer to the respective files in the algorithms directory.

About

Python algorithms, assignments and practicals

Topics

algorithmalgorithmsalgorithms-and-data-structuresalgorithms-datastructuresdaadata-structuresdesign-and-analysis-of-algorithmsdsafreecodecampfreecodecamp-algorithmspythonpython-algorithmspython-assignment

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

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.