Welcome to the CS50 Introduction to Computer Science 2023 repository! This repository contains the solutions and resources for the assignments and problem sets from the CS50 course offered in 2023. Please keep in mind that academic integrity is important; make sure to use these resources responsibly and try to solve the problems on your own before referring to the solutions.
CS50 Introduction to Computer Science is a renowned course offered by Harvard University that provides a comprehensive introduction to the world of computer science. The course covers a wide range of topics, including programming languages like C, Python, SQL, and more, as well as concepts like algorithms, data structures, and web development. It is designed to be challenging and rewarding, catering to both beginners and more experienced programmers.
This repository contains solutions and resources related to CS50 2023. You can use these resources to:
- Learn: Study the provided solutions to understand different problem-solving approaches.
- Reference: Use the code snippets and explanations as a reference while working on your assignments.
- Compare: Compare your solutions with the provided ones to learn from any discrepancies.
- Practice: Test your understanding by attempting the problems first and then verifying your solutions.
Remember that the primary goal of CS50 is to learn and grow as a programmer, so use these resources responsibly.
Each problem set is placed in its respective folder. Below is the list of problem sets along with links to their solutions:
Week 1 - C
- Folder: Practice Problems
- Folder: Lab 1
- Solution: Population
- Folder: Problem Set 1
- Solution: Hello
- Solution: Mario-less
- Solution: Mario-more
- Solution: Cash
- Solution: Credit
Week 2 - Arrays
- Folder: Practice Problems
- Folder: Lab 2
- Solution: Population
- Folder: Problem Set 2
- Solution: Bulbs
- Solution: Caesar
- Solution: Readability
- Solution: Substitution
- Solution: Wordle
Week 3 - Algorithms
- Folder: Practice Problems
- Folder: Lab 3
- Solution: Sort
- Folder: Problem Set 3
Week 4 - Memory
- Folder: Practice Problems
- Folder: Lab 4
- Folder: Problem Set 4
- Solution: Filter-less
- Solution: Filter-more
- Solution: Recover
- Solution: Reverse
Week 5 - Data Structures
- Folder: Practice Problems
- Solution: Trie
- Folder: Lab 5
- Solution: Inheritance
- Folder: Problem Set 5
- Solution: Speller
Week 6 - Python
- Folder: Practice Problems
- Solution: Bank
- Solution: Figlet
- Solution: Jar
- Solution: Seven Day Average
- Solution: Taqueria
- Folder: Lab 6
- Solution: World Cup
- Folder: Problem Set 6
- Solution: Sentimental Hello
- Solution: Sentimental Mario-less
- Solution: Sentimental Mario-more
- Solution: Sentimental Cash
- Solution: Sentimental Credit
- Solution: Sentimental Readability
- Solution: DNA
Week 7 - SQL
- Folder: Practice Problems
- Folder: Lab 7
- Solution: Songs
- Folder: Problem Set 7
- Solution: Movies
Week 8 - HTML, CSS, Javascript
- Folder: Lab 8
- Solution: Songs
- Folder: Problem Set 8
- Solution: Movies
Week 9 - SQL
- Folder: Lab 9
- Solution: Songs
- Folder: Problem Set 9
- Solution: Finance
Feel free to explore the problem sets, try solving them on your own, and then compare your solutions with the ones provided here.