{"id":20814575,"url":"https://github.com/spignelon/python","last_synced_at":"2025-12-27T02:18:15.338Z","repository":{"id":44543512,"uuid":"512807612","full_name":"spignelon/python","owner":"spignelon","description":"Python algorithms, assignments and practicals","archived":false,"fork":false,"pushed_at":"2023-07-05T10:14:35.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T05:19:01.606Z","etag":null,"topics":["algorithm","algorithms","algorithms-and-data-structures","algorithms-datastructures","daa","data-structures","design-and-analysis-of-algorithms","dsa","freecodecamp","freecodecamp-algorithms","python","python-algorithms","python-assignment"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spignelon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-11T15:17:15.000Z","updated_at":"2023-07-24T08:22:52.000Z","dependencies_parsed_at":"2025-01-18T15:28:28.013Z","dependency_job_id":"fcf1a423-a436-466f-b177-da2c73dfea4e","html_url":"https://github.com/spignelon/python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spignelon/python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fpython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fpython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fpython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fpython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spignelon","download_url":"https://codeload.github.com/spignelon/python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spignelon%2Fpython/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28069338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","algorithms","algorithms-and-data-structures","algorithms-datastructures","daa","data-structures","design-and-analysis-of-algorithms","dsa","freecodecamp","freecodecamp-algorithms","python","python-algorithms","python-assignment"],"created_at":"2024-11-17T21:17:18.489Z","updated_at":"2025-12-27T02:18:15.317Z","avatar_url":"https://github.com/spignelon.png","language":"Python","readme":"# Python\nPython practice, assignments and practicals\n\n---\n\n## Programs\n\n1. Python Program for factorial and fibonacci of a number. [View](https://github.com/spignelon/python/blob/main/facfibo.py)\n2. Python Program to check Armstrong Number. [View](https://github.com/spignelon/python/blob/main/armstrong.py)\n3. Program to print ASCII Value of a character. [View](https://github.com/spignelon/python/blob/main/ascii.py)\n4. Python Program to create a function that finds the largest element in an array. [View](larray.py)\n5. Python Program to Split the array and add the first part to the end. [View](splitrevarray.py)\n6. Python program to swap two elements in a list. [View](elementlswap.py)\n7. Python program to remove the Nth occurrence of the given word. [View](rmnthword.py)\n8. Remove multiple elements from a list in Python. [View](rmelist.py)\n\n---\n\n## Algorithms\n\nThe following algorithms are available in the algorithms directory:\n\n### Brute Force Sorting\n- Implements a brute-force sorting algorithm.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/bruteforce_sorting.py)\n\n### Bubble Sort\n- Implements the bubble sort algorithm.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/bubble_sort.py)\n\n### Fractional Knapsack\n- Solves the fractional knapsack problem.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/fractional_knapsack.py)\n\n### Mice into Holes\n- Solves the Mice into Holes problem.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/greedyAlgo_mice_into_holes.py)\n\n### Insertion Sort\n- Implements the insertion sort algorithm.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/insertion_sort.py)\n\n### Iterative Binary Search\n- Implements the binary search algorithm iteratively.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/iterative_binary_search.py)\n\n### Linear Search\n- Implements the linear search algorithm.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/linear_search.py)\n\n### Linked List\n- Implements a linked list data structure.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/linked_list.py)\n\n### Matrix Multiplication\n- Performs matrix multiplication.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/matrix_multiplication.py)\n\n### Merge Sort Optimized\n- Implements the merge sort algorithm with optimized merging.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/merge_sort_optimized.py)\n\n### Merge Sort\n- Implements the merge sort algorithm.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/merge_sort.py)\n\n### Merging Sorted Arrays\n- Merges two sorted arrays.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/merging_sorted_arrays.py)\n\n### Palindromic Matrix Paths\n- Finds palindromic paths in a matrix using dynamic programming.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/palindromic_matrix_paths_dp.py)\n\n### Recursive Permutation\n- Generates permutations recursively.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/permutation_recursive.py)\n\n### Recursive Factorial\n- Calculates factorial using recursion.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/recursion_factorial.py)\n\n### Recursive Binary Search\n- Implements the binary search algorithm recursively.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/recursive_binary_search.py)\n\n### Strassen's Algorithm (Recursive)\n- Implements Strassen's algorithm for matrix multiplication recursively.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/strassen_algo_recursion.py)\n\n### Strassen's Algorithm (Iterative)\n- Implements Strassen's algorithm for matrix multiplication iteratively.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/strassen_algorithm_iterative.py)\n\n### Traveling Salesman Problem (Dynamic Programming)\n- Solves the Traveling Salesman Problem using dynamic programming.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/traveling_salesman_dp.py)\n\n### Ugly Number (Dynamic Programming)\n- Finds the nth ugly number using dynamic programming.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/ugly_number_dp.py)\n\n### Ugly Numbers\n- Generates ugly numbers.\n- [View Source Code](https://github.com/spignelon/python/blob/main/algorithms/ugly_numbers.py)\n\n---\n\nFor detailed explanations and implementations of the above algorithms, please refer to the respective files in the [algorithms directory](https://github.com/spignelon/python/tree/main/algorithms).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspignelon%2Fpython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspignelon%2Fpython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspignelon%2Fpython/lists"}