This repository contains all my solutions to the psets and labs of this course. If you are a taking this course, please do not copy my solutions since you won't get the best this course can offer. On the other hand, you are welcome to campare solutions for problems you have solved.
Course site: https://cs50.harvard.edu/x/2022/
-
Week 0 Scratch
-
Week 1 C
- Pset 1
-
hello/hello.c
-
credit/credit.c
-
mario/mario.c
-
- population
-
population/population.c
(This problem is from the 2021 edition and not this one, but I decided to include it.)
-
- Pset 1
-
Week 2 Arrays
- Pset 2
-
readability/readability.c
-
substitution/substitution.c
-
- lab2
-
scrabble.c
-
- Pset 2
-
Week 3 Algorithms
- Pset 3
-
plurality/plurality.c
-
runoff/runoff.c
-
- lab3
-
answers.txt
random5000.txt
random10000.txt
random50000.txt
reversed5000.txt
reversed10000.txt
reversed50000.txt
sorted5000.txt
sorted10000.txt
sorted50000.txt
times_log.txt
-
- Pset 3
-
Week 4 Memory
- Pset 4:
-
filter-more/filter.c
filter-more/bmp.h
filter-more/helpers.c
filter-more/helpers.h
filter-more/Makefile
-
- Lab 4:
-
volume/volume.c
-
- Pset 4:
-
Week 5 Data Structures
- Pset 5:
-
dictionary.c
-
dictionary.c
Makefile
speller.c
-
- Lab 5:
-
inheritance.c
-
- Pset 5:
-
Week 6 Python
- Pset 6:
-
sentimental-credit/credit.py
-
sentimental-hello/hello.py
-
sentimental-mario-more/mario.py
-
sentimental-readability/readability.py
-
dna/dna.py
dna/databases/large.csv
dna/databases/small.csv
dna/sequences/1-20.txt
(20 txt files)
-
- Lab 6:
-
tournament.py
2018m.csv
2019w.csv
-
- Pset 6:
-
Week 7 SQL
- Pset 7:
-
movies/1-13.sql
(13 sql files) db_schema.txt
-
- Lab 7:
-
songs/1-8.sql
(8 sql files) songs/db_schema.txt
-
fiftyville/answers.txt
-
fiftyville/log.sql
fiftyville/db_schema_fiftyville.txt
fiftyville/db_tables_fiftyville.txt
-
- Pset 7:
-
Week 8 HTML, CSS, JavaScript
- Pset 8:
-
homepage/index.html
-
homepage/styles.css
-
homepage/sidebar.css
-
- Lab8 8:
-
trivia/index.html
-
trivia/styles.css
-
- Pset 8:
-
Week 9 Flask
-
Week 10 Emoji