This repository is a personal collection of Python scripts, serving as a log of my solutions to various online coding challenges, algorithm practice, and miscellaneous automation tools. The code within represents a journey through different problems and platforms, showcasing a variety of problem-solving techniques.
Most of this code is very outdated as it was written in my freshman year in college
The repository is broadly organized into several categories based on the source of the challenges or the purpose of the script.
This section contains solutions to problems from Codewars, categorized by their difficulty level (Kyu).
- 1 Kyu:
Sliding_Puzzle_Solver.py,Faberge_easter_eggs_crush_test_[linear].py - 3 Kyu:
The_Millionth_Fibonacci_Kata.py,Last_digit_of_a_huge_number.py,Binomial_expansion.py - 4 Kyu:
TCP_finite_state_machine.py,Recover_secret_string.py,The_observed_pin.py - 5-7 Kyu: A variety of solutions covering fundamental algorithms and data structures.
Solutions for the puzzles from the classic Python Challenge.
- Scripts are named
python_challenge_X.py, corresponding to the level number. - These challenges often involve web requests, image manipulation, and creative problem-solving.
A collection of scripts designed to automate tasks, interact with websites, or extract data.
Automated_eclass_login.py: A Selenium script to log into the Upnet e-class platform.play_music_youtube.py: Searches and plays the first result for a song on YouTube using Selenium.send_fb_message.py: An experimental script to automate sending messages on Facebook.simple_link_get.py: A simple script usingrequestsandregexto extract all links from a webpage.
Implementations of various algorithms and data science concepts.
TOP-K_Most_Similar_Documents.py: Calculates and ranks document similarity using cosine similarity.neural_test.py: An experimental implementation of a simple neural network and text preprocessing usingpandasandnltk.cluster_hierarchy.py: Usesscipyandmatplotlibto generate and display a dendrogram for hierarchical clustering.Pancake_sort.py: An implementation of the pancake sorting algorithm.
Scripts written to solve challenges from platforms like HackThis!!.
Hack_this_captcha1.py: Usespytesseractfor OCR to attempt to solve a CAPTCHA challenge.Hack_this_coding_1.py: Solves a coding challenge by sorting a list of words.
A variety of other utility scripts and practice problems.
Roman_to_number.py: A script to convert Roman numerals to integers.move_files.py: A utility to organize files into a specified folder.word_counter.py: A simple script to count words in a text file.
- Primary Language: Python 3
- Libraries:
requestsfor HTTP requestsseleniumfor browser automationnumpy&pandasfor data manipulationscikit-learn&nltkfor machine learning and NLPPillow (PIL)for image processingpytesseractfor optical character recognition (OCR)matplotlibfor plotting