Skip to content

jsonUtil/AlgoCodes

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ AlgoCodes

This repository is a collection of algorithms, coding solutions, and problem-solving approaches across multiple languages, platforms, and problem categories.
It is designed as a collaborative space where contributors can add their solutions in a structured and organized hierarchy.

Problem Statement

Sliding Window

C++

longest-substring-without-repeating-characters

Python

Java


Strings

C++

Python

Java


Arrays

C++

Python

Java


Maths

C++

Binary 2 Decimal Binary 2 Decimal using Buildin Function Binary 2 Octal Decinal 2 Binary

Python

Java


Miscellaneous

C++

Majority Element

Python

Java

Flipping Bits Primality

PHP

Flipping Bits Primality


Recursion

PHP

Fibonacci Number

Python

Java

Fibonacci Number


Search

C++

Search in 2D Matrics

Python

Java


C++

Python

Java


C++

Python

Java


C++

Python

Java


C++

Python

Java


C++

Python

Java


C++

Python

Java


πŸ“‚ Repository Structure

All solutions must follow this folder hierarchy: language/platform/problem-type/problem/{files}

Examples

  • cpp/leetcode/arrays/two-sum/john123_twoSum.cpp
  • python/hackerrank/strings/valid-anagram/alex_validAnagram.py
  • c/codeforces/dp/longest-increasing-subsequence/rahul_LIS.c

This ensures solutions are well organized and easily searchable.


πŸ“ Contribution Workflow

To contribute, please follow these steps:

  1. Add your solution in the correct folder:
    • Language β†’ Platform β†’ Problem-Type β†’ Problem
  2. File naming convention: username_problemName.extension Example: alex_twoSum.cpp
  3. Code requirements:
  • Add a short description of the problem
  • Mention your approach/logic
  • Write clear comments
  1. Update repository files:
  • Add your name in CONTRIBUTORS.md if you’re new
  • Update README.md with a relative path to your solution under the right problem section, marking it with a βœ… language tag

πŸ“‘ Problem Index

This index organizes problems by Platform β†’ Problem Type β†’ Problem, with solutions listed per language.
Contributors should add their solutions under the relevant problem.


πŸ“Œ LeetCode

πŸ”Ή Sliding Window

  • Longest Substring Without Repeating Characters (./cpp/leetcode/sliding-window/longest-substring-without-repeating-characters)
  • βœ… C++: longest-substring-without-repeating-characters
  • βœ… Python: (add here)
  • βœ… Java: (add here)

πŸ”Ή Arrays

πŸ”Ή Strings


πŸ“Œ HackerRank

πŸ”Ή Strings


πŸ“Œ Codeforces

πŸ”Ή Dynamic Programming

  • Longest Increasing Subsequence (./c/codeforces/dp/longest-increasing-subsequence)
  • βœ… C: rahul_LIS.c

πŸ™Œ Contributors

See the full list in CONTRIBUTORS.md.
Your contributions make this project stronger πŸ’‘

About

All Algo n programs for easy reference and help.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 57.4%
  • Python 24.3%
  • C 6.8%
  • Java 6.6%
  • PHP 4.9%