Skip to content

4mkbs/LifeOfCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Life of Code

Welcome to Life of Code, a repository dedicated to programming language fundamentals, Data Structures & Algorithms (DSA), and competitive programming challenges in multiple programming languages.(Initial Phase)

🚀 Overview

Life of Code is a collection of solutions for various problems, categorized into different sections:

  • Fundamentals: Programming language basics, syntax examples, and core concepts across multiple languages.
  • Data Structures & Algorithms (DSA): Common DSA problems like sorting, searching, trees, graphs, and dynamic programming.
  • Competitive programming: Solutions to problems from various platforms such as Codeforces, LeetCode, CodeChef, AtCoder, and HackerRank.
  • Math: Solutions to basic and advanced mathematical problems and algorithms.
  • Multiple Languages: Code solutions are provided in various languages like Python, C, C++, Java, JavaScript, Go, Rust, PHP, and more.

The goal of this repository is to have an open, collaborative space for coding practice, learning new algorithms, and solving real-world problems.

🌱 Sections

1. Fundamentals (fundamentals/)

This section contains programming language fundamentals and syntax examples across multiple languages:

  • Basic syntax demonstrations (variables, loops, functions, etc.)
  • Language-specific features and idioms
  • Programming concepts implemented in various languages
  • Organized by language (C, C++, Java, JavaScript, PHP, Python, Go, Rust)

2. Data Structures & Algorithms (dsa/)

This section includes classic DSA problems in various languages, such as:

  • Arrays, Strings, Linked Lists, Trees, and Graphs
  • Sorting and Searching algorithms
  • Dynamic Programming, Greedy Algorithms, and more

3. Competitive Programming (competitive/)

This section contains solutions to competitive programming problems from platforms like:

  • Codeforces
  • LeetCode
  • CodeChef
  • AtCoder
  • HackerRank

4. Math Problems (fundamentals/math/ and dsa/math/)

Solutions to common and advanced math problems:

  • Prime checkers, Fibonacci, and GCD
  • Advanced algorithms like the Sieve of Eratosthenes, Modular Exponentiation, and Matrix Multiplication

5. Utilities (utils/)

This section contains utility scripts like:

  • Running all scripts at once
  • Setting up environments for competitive coding

6. Web Design (web/)

Front-end practice and design system experiments:

  • vanilla/: Pure HTML/CSS/JS mini projects (no build tools) – great for fundamentals.
  • components/: Reusable markup fragments (navbar, footer, cards, buttons, etc.).
  • experiments/: Layout, animation, accessibility, performance experiments.
  • snippets/: Copy-ready boilerplate (meta tags, dark-mode toggle, responsive helpers).

Guidelines:

  • Keep examples dependency-free unless a subfolder explicitly documents tooling.
  • Prefer semantic HTML and accessible patterns (labels, landmarks, alt text).
  • Use kebab-case for file/folder names.
  • Dark mode via CSS custom properties; progressive enhancement only.

Roadmap ideas: responsive navigation, form best practices, grid vs flex layouts, accessible modal component.

🛠️ Setup Instructions

1. Clone the Repository

To get started, clone the repository to your local machine:

git clone https://github.com/4mkbs/lifeofcode.git
cd lifeofcode

🤝 Contribution Guidelines

We welcome contributions from everyone! To contribute to Life of Code, follow these steps:

  1. Star This Repository

  2. Fork the Repository
    Click the "Fork" button on the top-right corner of the repository page.

  3. Clone Your Fork
    Clone your forked repository to your local machine:

    git clone https://github.com/4mkbs/lifeofcode.git
    cd lifeofcode
  4. Create a Branch
    Create a new branch for your feature or bug fix:

    git checkout -b feature-name
  5. Make Changes
    Add your code or documentation changes. Ensure your code follows the repository's structure and style.

  6. Test Your Changes
    Test your code to ensure it works as expected.

  7. Commit and Push
    Commit your changes with a meaningful message:

    git add .
    git commit -m "Add feature-name or Fix issue-name"
    git push origin feature-name
  8. Create a Pull Request
    Go to the original repository and create a pull request from your branch. Provide a clear description of your changes.

📋 Contribution Rules

  • Ensure your code is clean and well-documented.
  • Follow the repository's folder structure and naming conventions.
  • Add comments to explain complex logic.
  • Test your code thoroughly before submitting.

Thank you for contributing to Life of Code! 🚀

About

Multi language code, design, problem solve

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published