Here are my solutions for the 2020 online CS50 course. Please don't refer to or copy them until you have attempted to solve the problems on your own.
sophiezhng/CS50-Harvard-Problem-Set-Solutions
Solutions to problem sets from the Harvard CS50x: Introduction to Computer Science 2020 course.
C