Skip to content

Tusharxhub/Competitive-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

71 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง‘โ€๐Ÿ’ป Subject Lab Code Repository

Welcome to our collaborative subject lab repository! This is where we upload and share code solutions for our weekly lab assignments, providing implementations in multiple programming languages to help everyone learn and understand different approaches.

๐Ÿ“‹ Table of Contents

๐ŸŽฏ About

This repository is designed for our subject lab where:

  • Weekly Uploads: New code solutions are uploaded every Thursday
  • Multi-Language Support: Same problems solved in Python, Java, C++, and more
  • Collaborative Learning: Students can compare different approaches and implementations
  • Knowledge Sharing: Help each other understand concepts through code examples
  • Assignment Archive: Maintain a complete record of all lab work

๐Ÿ“… Lab Schedule

Upload Day: Every Thursday
Lab Time: [Your Lab Time Here]
Subject: [Your Subject Name Here]
Instructor: [Instructor Name Here]

Weekly Lab Workflow:

  1. Thursday Morning: New lab assignment released
  2. Lab Session: Work on problems during lab hours
  3. Thursday Evening: Solutions uploaded to repository
  4. Weekend: Review and study different approaches

๐Ÿš€ Supported Languages

Language Extension Primary Use
Python .py Data Science, Algorithms
Java .java Object-Oriented Programming
C++ .cpp System Programming, Performance
JavaScript .js Web Development
C .c System Programming

๐ŸŽฎ How to Use

For Students:

  1. Browse Weekly Labs: Check the latest Thursday uploads
  2. Compare Solutions: Look at the same problem in different languages
  3. Learn Approaches: Study different coding styles and techniques
  4. Practice: Try implementing solutions in your preferred language

Running Code:

Python

python lab_solution.py

Java

javac LabSolution.java
java LabSolution

C++

g++ -o lab_solution lab_solution.cpp
./lab_solution

๐Ÿค Contributing Guidelines

For Lab Participants:

  1. Weekly Contribution: Upload your solutions every Thursday

  2. File Naming: Use consistent naming convention:

    • week_X_problem_Y.language_extension
    • Example: week_3_sorting.py, week_3_sorting.cpp
  3. Folder Structure: Organize by week and topic

  4. Documentation: Include comments explaining your approach

  5. Multiple Languages: Encourage solving in different languages

Submission Process:

  1. Create Branch: git checkout -b week-X-yourname
  2. Add Solutions: Upload your completed lab work
  3. Commit Changes: git commit -m "Week X: Add [problem name] solutions"
  4. Push Branch: git push origin week-X-yourname
  5. Create Pull Request: For code review and merge

๐Ÿ“ Coding Standards

General Requirements:

  • Clean Code: Write readable and well-structured code
  • Comments: Explain complex logic and algorithms
  • Variable Names: Use meaningful and descriptive names
  • Error Handling: Handle edge cases appropriately
  • Testing: Include sample inputs and expected outputs

Code Header Template:

"""
Subject: [Subject Name]
Lab Week: [Week Number]
Problem: [Problem Title]
Author: [Your Name]
Date: [Upload Date]
Language: [Programming Language]

Description:
[Brief description of what the program does]

Approach:
[Explain your solution approach]

Time Complexity: O(n)
Space Complexity: O(1)
"""

๐Ÿ“š Lab Assignment Format

Each lab assignment typically includes:

Problem Statement

  • Clear description of what needs to be solved
  • Input/output specifications
  • Constraints and requirements
  • Sample test cases

Expected Deliverables

  • Working code solution
  • Comments explaining the approach
  • Test cases with expected outputs
  • Brief analysis of time/space complexity

Evaluation Criteria

  • Correctness: Does the code produce correct results?
  • Efficiency: Is the solution optimized?
  • Readability: Is the code well-organized and commented?
  • Completeness: Are all requirements met?

๐Ÿ†˜ Getting Help

During Lab Hours:

  • Ask the instructor or TA for guidance
  • Collaborate with classmates (following academic integrity rules)
  • Use available resources and documentation

Online Resources:

  • Documentation: Official language documentation
  • Stack Overflow: For specific programming questions
  • GeeksforGeeks: Algorithm explanations and examples
  • YouTube: Video tutorials for complex concepts

Repository Help:

  • Issues: Report bugs or ask questions using GitHub Issues
  • Discussions: General questions and help requests
  • Code Review: Request feedback on your solutions

๐Ÿ‘ฅ Contributors

Lab Participants:

  • [Student 1] - Week 1-4 contributions
  • [Student 2] - Python specialist
  • [Student 3] - C++ implementations
  • [Your Name] - Java solutions

Instructional Staff:

  • [Instructor Name] - Course instructor
  • [TA Name] - Teaching assistant

๐Ÿ“Š Weekly Progress Tracking

Week Topic Problems Solved Languages Used Completion Rate
1 [Topic 1] 3 Python, Java 85%
2 [Topic 2] 4 Python, C++, Java 92%
3 [Topic 3] 2 Python, Java, JS 78%
... ... ... ... ...

๐Ÿ† Learning Objectives

By participating in this repository, students will:

  • Master Multiple Languages: Gain experience in different programming languages
  • Understand Algorithms: Learn various problem-solving approaches
  • Code Collaboration: Experience working with version control and code review
  • Best Practices: Develop good coding habits and documentation skills
  • Peer Learning: Learn from classmates' different approaches

๐Ÿ“ Important Notes

  • Academic Integrity: Follow your institution's academic integrity policies
  • Original Work: Submit your own solutions, but learning from others is encouraged
  • Thursday Deadline: Ensure timely uploads every Thursday
  • Code Quality: Focus on writing clean, understandable code
  • Participation: Active participation improves everyone's learning experience

๐Ÿ“ž Contact Information

  • Lab Issues: Use GitHub Issues for technical problems
  • Academic Questions: Contact instructor during office hours
  • Repository Management: [Repository maintainer contact]

Remember: The goal is learning and improvement. Don't hesitate to ask questions and help your classmates!

Happy Coding! ๐Ÿš€

Last Updated: [Current Date]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •