{"id":24649054,"url":"https://github.com/datmicw/30daylab___csharp","last_synced_at":"2025-03-20T18:47:52.777Z","repository":{"id":273026847,"uuid":"918503126","full_name":"datmicw/30dayLAB___CSharp","owner":"datmicw","description":"30 Days of C# Practice","archived":false,"fork":false,"pushed_at":"2025-01-25T13:55:59.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T14:27:51.817Z","etag":null,"topics":["algorithms","csharp-code","oop","practice"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datmicw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-18T05:07:48.000Z","updated_at":"2025-01-25T13:56:02.000Z","dependencies_parsed_at":"2025-01-25T14:24:58.161Z","dependency_job_id":null,"html_url":"https://github.com/datmicw/30dayLAB___CSharp","commit_stats":null,"previous_names":["datmicw/30daylab___csharp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datmicw%2F30dayLAB___CSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datmicw%2F30dayLAB___CSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datmicw%2F30dayLAB___CSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datmicw%2F30dayLAB___CSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datmicw","download_url":"https://codeload.github.com/datmicw/30dayLAB___CSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244675507,"owners_count":20491824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","csharp-code","oop","practice"],"created_at":"2025-01-25T17:15:32.049Z","updated_at":"2025-03-20T18:47:52.753Z","avatar_url":"https://github.com/datmicw.png","language":"C#","readme":"\n# 30 Days of C# Practice: OOP \u0026 Algorithms  \n\nThis repository contains **30 daily challenges** to practice Object-Oriented Programming (OOP) and algorithms in C#. Each challenge is designed to strengthen programming skills, logical thinking, and familiarity with C# features.  \n\n---\n\n## **Project Structure**  \n\nThe project is divided into **30 folders**, one for each day. Each folder contains:  \n1. The problem statement for the day's challenge.  \n2. A C# solution (`.cs` file).  \n3. Test cases for the challenge (if applicable).  \n\n---\n\n## **Challenges Overview**  \n\n### **Week 1: OOP Fundamentals**  \n1. **Manage Contacts**: CRUD operations on a contact list.  \n2. **Sort Products**: Bubble sort for product prices.  \n3. **Banking System**: Deposit, withdraw, and transfer functionality.  \n4. **Find Most Frequent Element**: Use a dictionary to count occurrences.  \n5. **Manage Students**: Calculate and compare students' average scores.  \n6. **Decode String**: Decode strings in a format like `3[a]2[bc]`.  \n7. **User Login System**: Register and login functionality.  \n\n### **Week 2: Intermediate OOP \u0026 Data Structures**  \n8. **Shortest Path**: Implement Dijkstra's algorithm for a graph.  \n9. **Number Guessing Game**: Simulate a number guessing game.  \n10. **Printer Queue**: Simulate a print queue using the `Queue` collection.  \n11. **Maze Solver**: Solve a maze using recursion or BFS.  \n12. **Prime Numbers**: Find all primes up to a given number.  \n13. **ATM Simulation**: Calculate the minimum number of bills for withdrawals.  \n14. **Library Management**: Borrow and return books in a library system.  \n\n### **Week 3: Advanced Algorithms**  \n15. **Evaluate Postfix Expression**: Use a stack to evaluate postfix expressions.  \n16. **Linked List Implementation**: Build a custom linked list with basic operations.  \n17. **Check Palindrome**: Verify if a string is a palindrome.  \n18. **Student Classification**: Group students into categories based on scores.  \n19. **Fractions**: Add, subtract, multiply, and divide fractions.  \n20. **Generate Combinations**: Use recursion to find all combinations in an array.  \n21. **Spiral Matrix**: Print numbers in a spiral NxN matrix.  \n\n### **Week 4: Real-World Applications**  \n22. **Sudoku Solver**: Solve a Sudoku puzzle using backtracking.  \n23. **Classroom Management**: Calculate class averages and find top students.  \n24. **Sort by Number of Digits**: Sort numbers by the number of digits.  \n25. **Convert Number to Words**: Convert integers into their word representations.  \n26. **Generate Unique Random Numbers**: Create a list of unique random numbers.  \n27. **Binary Tree Implementation**: Implement and traverse a binary tree.  \n28. **Find Pairs with Sum X**: Identify pairs in an array that sum to X.  \n29. **Pathfinding in a Matrix**: Find a valid path in a binary matrix using DFS/BFS.  \n30. **Ticket Reservation System**: Manage ticket reservations and calculate revenue.  \n\n---\n\n## **How to Run the Code**  \n\n1. Clone the repository:  \n   ```bash  \n   git clone https://github.com/datmicw/30dayLAB___CSharp.git  \n   ```  \n\n2. Open the solution in Visual Studio or any C# IDE.  \n\n3. Navigate to the folder of the day you want to test.  \n\n4. Run the program and test it with the provided test cases.  \n\n---\n\n## **Requirements**  \n\n- **C# IDE**: Visual Studio\n- **.NET Framework**: Version 8.0 or later  \n\n---\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatmicw%2F30daylab___csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatmicw%2F30daylab___csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatmicw%2F30daylab___csharp/lists"}