Alperencode / Algorithm-Solutions

LeetCode, CodeWars, HackerRank problem solutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Algorithm Solutions

Welcome to the Algorithm Solutions repository! Within this repository, you'll find my solutions to a variety of LeetCode, CodeWars (Kata), and HackerRank problems, predominantly implemented in Python. As I continue to explore different problem variants, I'll be adding more solutions in my free time.

Note: Files with the '-u' at the end means they are unfinished.

Table of Contents

My Profile Links

Note: My username is "Alperencode" in all platforms

Features

  • Comprehensive Solutions: Each algorithmic problem is accompanied by a detailed solution, edge cases, and runtime complexities.

  • Optimized Algorithms: I pride myself on providing not just any solution, but the most optimized one. My algorithms are crafted with performance in mind.

  • Variety of Problems: My repository covers a broad spectrum of problems, from the basics to the most challenging ones. Whether you're a novice or an expert, there's something here for everyone.

  • Clean and Commented Code: We believe that the best code is the one that speaks for itself. My solutions are written in a clean and readable manner, and some of them are peppered with comments to guide you through.

Getting Started

  1. Clone the Repository:

    git clone https://github.com/Alperencode/Algorithm-Solutions/Algorithm-Solutions.git
  2. Navigate and Explore: Once cloned, navigate through the repository. Each question has its original name on its platform and each solution has a link to the question's URL as comment line. Feel free to see the original question using the URL or search the question by it's name.

Naming examples: Problem-Name.py, Other-Problem.c

Folder Structure

My repository is organized based on platforms:

Algorithm-Solutions/
│
├── LeetCode
│   └── Python (42)
├── CodeWars
│   ├── Python (54)
│   ├── C# (1)
│   └── C-C++ (2)
├── HackerRank
│   └── Python (13)
└── AlgoLeague
    └── C-C++ (3)

Total solutions: 115

Note: Folder structure last updated on date: 9/28/2023

Contribution Guidelines

We're always on the lookout for better solutions and optimizations. If you believe you have a more efficient solution or a new algorithmic problem that could benefit the community:

  1. Fork the repository.
  2. Make your changes.
  3. Submit a pull request with a detailed explanation of your solution or problem.

About

LeetCode, CodeWars, HackerRank problem solutions


Languages

Language:Python 93.6%Language:C 2.6%Language:C++ 2.6%Language:C# 0.6%Language:JavaScript 0.5%