Computer Science · Free course
CS50: Introduction to Computer Science
A comprehensive introduction to the intellectual enterprises of computer science and the art of programming. This course covers algorithmic thinking, data structures, memory management, and C programming.
by freeCodeCamp.org · Watch the original on YouTube
- beginner
- 106 lessons
- 24.9 hours of video
- 55 days at 30 min/day
Loading course start…
What you’ll learn
- Understand fundamental computer science concepts like binary, algorithms, and memory.
- Transition from block-based programming in Scratch to text-based coding in C.
- Master memory management, pointers, and data structures.
- Develop skills to debug code and optimize for efficiency.
Your daily curriculum
A plan for about 30 minutes a day, including time for notes and questions. Adjust your pace in your own copy.
Day 1 · about 22 min · 0:00 – 17:26
1. Introduction to Problem Solving
0:00 – 9:34Learn the basics of algorithmic thinking and how computers process input to solve problems.
2. Binary Representation
9:34 – 17:26Understand how computers represent data using switches, transistors, and binary numbers.
Day 2 · about 40 min · 17:26 – 49:45
3. ASCII, Unicode, and Multimedia
17:26 – 33:23Explore how characters and media are encoded into binary formats.
4. Algorithms and Efficiency
33:23 – 49:45Learn how to evaluate algorithms based on correctness and efficiency.
Day 3 · about 25 min · 49:45 – 1:09:46
5. Introduction to Scratch
49:45 – 57:40Get started with block-based programming to understand core logic.
6. Scratch Control and Logic
57:40 – 1:09:46Learn about control flow and event handling in programming.
Day 4 · about 30 min · 1:09:46 – 1:33:23
7. Reusable Code and Design
1:09:46 – 1:25:30Understand the importance of clean design and avoiding repetition.
8. Game Design Logic (part 1 of 2)
1:25:30 – 1:33:23Apply programming concepts to build interactive games.
Day 5 · about 36 min · 1:33:23 – 2:02:40
9. Game Design Logic (part 2 of 2)
1:33:23 – 1:46:26Apply programming concepts to build interactive games.
- Reuse sprites and code to improve design. 1:33:23
10. Introduction to C
1:46:26 – 2:02:40Transition from visual programming to the text-based C language.
Day 6 · about 27 min · 2:02:40 – 2:24:18
11. Command Line and Compiling
2:02:40 – 2:14:20Learn how to use the command line and compile source code.
12. C Types and Conditionals (part 1 of 2)
2:14:20 – 2:24:18Understand data types and basic conditional logic in C.
Day 7 · about 32 min · 2:24:18 – 2:50:25
13. C Types and Conditionals (part 2 of 2)
2:24:18 – 2:34:16Understand data types and basic conditional logic in C.
14. Libraries and Header Files
2:34:16 – 2:50:25Learn how to use external libraries to extend C functionality.
Day 8 · about 20 min · 2:50:25 – 3:06:23
15. C Math and Variables
2:50:25 – 3:06:23Explore arithmetic operations and variable usage in C.
Day 9 · about 21 min · 3:06:23 – 3:22:53
16. Conditionals and Parity
3:06:23 – 3:22:53Use conditional statements to control program flow.
Day 10 · about 20 min · 3:22:53 – 3:38:41
17. Loops in C
3:22:53 – 3:38:41Learn how to repeat code using while and for loops.
Day 11 · about 31 min · 3:38:41 – 4:03:03
18. Functions and Prototypes
3:38:41 – 3:55:06Understand how to define and use custom functions.
19. Floating Point Precision (part 1 of 2)
3:55:06 – 4:03:03Learn about floating point numbers and precision issues.
Day 12 · about 32 min · 4:03:03 – 4:28:00
20. Floating Point Precision (part 2 of 2)
4:03:03 – 4:16:21Learn about floating point numbers and precision issues.
- Integer division truncates the decimal part. 4:03:03
21. Compiling and Linking (part 1 of 2)
4:16:21 – 4:28:00Deep dive into the compilation process.
- Clang is a compiler that processes source code. 4:16:21
Day 13 · about 28 min · 4:28:00 – 4:50:21
22. Compiling and Linking (part 2 of 2)
4:28:00 – 4:36:21Deep dive into the compilation process.
23. Debugging Techniques (part 1 of 2)
4:36:21 – 4:50:21Learn how to identify and fix errors in your code.
Day 14 · about 28 min · 4:50:21 – 5:12:18
24. Debugging Techniques (part 2 of 2)
4:50:21 – 5:04:21Learn how to identify and fix errors in your code.
25. Arrays in C (part 1 of 2)
5:04:21 – 5:12:18Understand how to store multiple values in a single variable.
- Arrays store data contiguously in memory. 5:04:21
Day 15 · about 25 min · 5:12:18 – 5:32:20
26. Arrays in C (part 2 of 2)
5:12:18 – 5:24:27Understand how to store multiple values in a single variable.
27. Strings and Memory (part 1 of 2)
5:24:27 – 5:32:20Explore how strings are represented as arrays of characters.
Day 16 · about 32 min · 5:32:20 – 5:58:08
28. Strings and Memory (part 2 of 2)
5:32:20 – 5:44:23Explore how strings are represented as arrays of characters.
- String length can be calculated by iterating until null. 5:32:20
29. Search Algorithms (part 1 of 3)
5:44:23 – 5:58:08Learn about linear and binary search algorithms.
Day 17 · about 34 min · 5:58:08 – 6:25:39
30. Search Algorithms (part 2 of 3)
5:58:08 – 6:11:54Learn about linear and binary search algorithms.
31. Search Algorithms (part 3 of 3)
6:11:54 – 6:25:39Learn about linear and binary search algorithms.
Day 18 · about 26 min · 6:25:39 – 6:45:48
32. Sorting Algorithms (part 1 of 2)
6:25:39 – 6:35:44Understand how to organize data efficiently.
33. Sorting Algorithms (part 2 of 2)
6:35:44 – 6:45:48Understand how to organize data efficiently.
Day 19 · about 38 min · 6:45:48 – 7:15:33
34. Complexity and Big O (part 1 of 73)
6:45:48 – 7:00:40Analyze algorithm performance using Big O notation.
- Big O describes the upper bound of running time. 6:45:48
35. Complexity and Big O (part 2 of 73)
7:00:40 – 7:15:33Analyze algorithm performance using Big O notation.
Day 20 · about 38 min · 7:15:33 – 7:45:18
36. Complexity and Big O (part 3 of 73)
7:15:33 – 7:30:25Analyze algorithm performance using Big O notation.
37. Complexity and Big O (part 4 of 73)
7:30:25 – 7:45:18Analyze algorithm performance using Big O notation.
Day 21 · about 37 min · 7:45:18 – 8:15:03
38. Complexity and Big O (part 5 of 73)
7:45:18 – 7:58:00Analyze algorithm performance using Big O notation.
39. Complexity and Big O (part 6 of 73)
7:58:00 – 8:15:03Analyze algorithm performance using Big O notation.
- N squared complexity is common in simple sorts. 7:58:00
Day 22 · about 24 min · 8:15:03 – 8:34:04
40. Complexity and Big O (part 7 of 73)
8:15:03 – 8:34:04Analyze algorithm performance using Big O notation.
Day 23 · about 32 min · 8:34:04 – 8:59:40
41. Complexity and Big O (part 8 of 73)
8:34:04 – 8:44:48Analyze algorithm performance using Big O notation.
- Merge sort is faster than bubble or selection sort. 8:34:04
42. Complexity and Big O (part 9 of 73)
8:44:48 – 8:59:40Analyze algorithm performance using Big O notation.
Day 24 · about 38 min · 8:59:40 – 9:29:25
43. Complexity and Big O (part 10 of 73)
8:59:40 – 9:14:33Analyze algorithm performance using Big O notation.
44. Complexity and Big O (part 11 of 73)
9:14:33 – 9:29:25Analyze algorithm performance using Big O notation.
Day 25 · about 38 min · 9:29:25 – 9:59:10
45. Complexity and Big O (part 12 of 73)
9:29:25 – 9:44:17Analyze algorithm performance using Big O notation.
46. Complexity and Big O (part 13 of 73)
9:44:17 – 9:59:10Analyze algorithm performance using Big O notation.
Day 26 · about 38 min · 9:59:10 – 10:28:55
47. Complexity and Big O (part 14 of 73)
9:59:10 – 10:14:02Analyze algorithm performance using Big O notation.
48. Complexity and Big O (part 15 of 73)
10:14:02 – 10:28:55Analyze algorithm performance using Big O notation.
Day 27 · about 38 min · 10:28:55 – 10:58:40
49. Complexity and Big O (part 16 of 73)
10:28:55 – 10:43:47Analyze algorithm performance using Big O notation.
50. Complexity and Big O (part 17 of 73)
10:43:47 – 10:58:40Analyze algorithm performance using Big O notation.
Day 28 · about 38 min · 10:58:40 – 11:28:25
51. Complexity and Big O (part 18 of 73)
10:58:40 – 11:13:32Analyze algorithm performance using Big O notation.
52. Complexity and Big O (part 19 of 73)
11:13:32 – 11:28:25Analyze algorithm performance using Big O notation.
Day 29 · about 38 min · 11:28:25 – 11:58:09
53. Complexity and Big O (part 20 of 73)
11:28:25 – 11:43:17Analyze algorithm performance using Big O notation.
54. Complexity and Big O (part 21 of 73)
11:43:17 – 11:58:09Analyze algorithm performance using Big O notation.
Day 30 · about 38 min · 11:58:09 – 12:27:54
55. Complexity and Big O (part 22 of 73)
11:58:09 – 12:13:02Analyze algorithm performance using Big O notation.
56. Complexity and Big O (part 23 of 73)
12:13:02 – 12:27:54Analyze algorithm performance using Big O notation.
Day 31 · about 38 min · 12:27:54 – 12:57:39
57. Complexity and Big O (part 24 of 73)
12:27:54 – 12:42:47Analyze algorithm performance using Big O notation.
58. Complexity and Big O (part 25 of 73)
12:42:47 – 12:57:39Analyze algorithm performance using Big O notation.
Day 32 · about 38 min · 12:57:39 – 13:27:24
59. Complexity and Big O (part 26 of 73)
12:57:39 – 13:12:32Analyze algorithm performance using Big O notation.
60. Complexity and Big O (part 27 of 73)
13:12:32 – 13:27:24Analyze algorithm performance using Big O notation.
Day 33 · about 38 min · 13:27:24 – 13:57:09
61. Complexity and Big O (part 28 of 73)
13:27:24 – 13:42:17Analyze algorithm performance using Big O notation.
62. Complexity and Big O (part 29 of 73)
13:42:17 – 13:57:09Analyze algorithm performance using Big O notation.
Day 34 · about 38 min · 13:57:09 – 14:26:54
63. Complexity and Big O (part 30 of 73)
13:57:09 – 14:12:02Analyze algorithm performance using Big O notation.
64. Complexity and Big O (part 31 of 73)
14:12:02 – 14:26:54Analyze algorithm performance using Big O notation.
Day 35 · about 38 min · 14:26:54 – 14:56:39
65. Complexity and Big O (part 32 of 73)
14:26:54 – 14:41:46Analyze algorithm performance using Big O notation.
66. Complexity and Big O (part 33 of 73)
14:41:46 – 14:56:39Analyze algorithm performance using Big O notation.
Day 36 · about 38 min · 14:56:39 – 15:26:24
67. Complexity and Big O (part 34 of 73)
14:56:39 – 15:11:31Analyze algorithm performance using Big O notation.
68. Complexity and Big O (part 35 of 73)
15:11:31 – 15:26:24Analyze algorithm performance using Big O notation.
Day 37 · about 38 min · 15:26:24 – 15:56:09
69. Complexity and Big O (part 36 of 73)
15:26:24 – 15:41:16Analyze algorithm performance using Big O notation.
70. Complexity and Big O (part 37 of 73)
15:41:16 – 15:56:09Analyze algorithm performance using Big O notation.
Day 38 · about 38 min · 15:56:09 – 16:25:54
71. Complexity and Big O (part 38 of 73)
15:56:09 – 16:11:01Analyze algorithm performance using Big O notation.
72. Complexity and Big O (part 39 of 73)
16:11:01 – 16:25:54Analyze algorithm performance using Big O notation.
Day 39 · about 38 min · 16:25:54 – 16:55:39
73. Complexity and Big O (part 40 of 73)
16:25:54 – 16:40:46Analyze algorithm performance using Big O notation.
74. Complexity and Big O (part 41 of 73)
16:40:46 – 16:55:39Analyze algorithm performance using Big O notation.
Day 40 · about 38 min · 16:55:39 – 17:25:23
75. Complexity and Big O (part 42 of 73)
16:55:39 – 17:10:31Analyze algorithm performance using Big O notation.
76. Complexity and Big O (part 43 of 73)
17:10:31 – 17:25:23Analyze algorithm performance using Big O notation.
Day 41 · about 38 min · 17:25:23 – 17:55:08
77. Complexity and Big O (part 44 of 73)
17:25:23 – 17:40:16Analyze algorithm performance using Big O notation.
78. Complexity and Big O (part 45 of 73)
17:40:16 – 17:55:08Analyze algorithm performance using Big O notation.
Day 42 · about 38 min · 17:55:08 – 18:24:53
79. Complexity and Big O (part 46 of 73)
17:55:08 – 18:10:01Analyze algorithm performance using Big O notation.
80. Complexity and Big O (part 47 of 73)
18:10:01 – 18:24:53Analyze algorithm performance using Big O notation.
Day 43 · about 38 min · 18:24:53 – 18:54:38
81. Complexity and Big O (part 48 of 73)
18:24:53 – 18:39:46Analyze algorithm performance using Big O notation.
82. Complexity and Big O (part 49 of 73)
18:39:46 – 18:54:38Analyze algorithm performance using Big O notation.
Day 44 · about 38 min · 18:54:38 – 19:24:23
83. Complexity and Big O (part 50 of 73)
18:54:38 – 19:09:31Analyze algorithm performance using Big O notation.
84. Complexity and Big O (part 51 of 73)
19:09:31 – 19:24:23Analyze algorithm performance using Big O notation.
Day 45 · about 38 min · 19:24:23 – 19:54:08
85. Complexity and Big O (part 52 of 73)
19:24:23 – 19:39:16Analyze algorithm performance using Big O notation.
86. Complexity and Big O (part 53 of 73)
19:39:16 – 19:54:08Analyze algorithm performance using Big O notation.
Day 46 · about 38 min · 19:54:08 – 20:23:53
87. Complexity and Big O (part 54 of 73)
19:54:08 – 20:09:00Analyze algorithm performance using Big O notation.
88. Complexity and Big O (part 55 of 73)
20:09:00 – 20:23:53Analyze algorithm performance using Big O notation.
Day 47 · about 38 min · 20:23:53 – 20:53:38
89. Complexity and Big O (part 56 of 73)
20:23:53 – 20:38:45Analyze algorithm performance using Big O notation.
90. Complexity and Big O (part 57 of 73)
20:38:45 – 20:53:38Analyze algorithm performance using Big O notation.
Day 48 · about 38 min · 20:53:38 – 21:23:23
91. Complexity and Big O (part 58 of 73)
20:53:38 – 21:08:30Analyze algorithm performance using Big O notation.
92. Complexity and Big O (part 59 of 73)
21:08:30 – 21:23:23Analyze algorithm performance using Big O notation.
Day 49 · about 38 min · 21:23:23 – 21:53:08
93. Complexity and Big O (part 60 of 73)
21:23:23 – 21:38:15Analyze algorithm performance using Big O notation.
94. Complexity and Big O (part 61 of 73)
21:38:15 – 21:53:08Analyze algorithm performance using Big O notation.
Day 50 · about 38 min · 21:53:08 – 22:22:52
95. Complexity and Big O (part 62 of 73)
21:53:08 – 22:08:00Analyze algorithm performance using Big O notation.
96. Complexity and Big O (part 63 of 73)
22:08:00 – 22:22:52Analyze algorithm performance using Big O notation.
Day 51 · about 38 min · 22:22:52 – 22:52:37
97. Complexity and Big O (part 64 of 73)
22:22:52 – 22:37:45Analyze algorithm performance using Big O notation.
98. Complexity and Big O (part 65 of 73)
22:37:45 – 22:52:37Analyze algorithm performance using Big O notation.
Day 52 · about 38 min · 22:52:37 – 23:22:22
99. Complexity and Big O (part 66 of 73)
22:52:37 – 23:07:30Analyze algorithm performance using Big O notation.
100. Complexity and Big O (part 67 of 73)
23:07:30 – 23:22:22Analyze algorithm performance using Big O notation.
Day 53 · about 38 min · 23:22:22 – 23:52:07
101. Complexity and Big O (part 68 of 73)
23:22:22 – 23:37:15Analyze algorithm performance using Big O notation.
102. Complexity and Big O (part 69 of 73)
23:37:15 – 23:52:07Analyze algorithm performance using Big O notation.
Day 54 · about 38 min · 23:52:07 – 24:21:52
103. Complexity and Big O (part 70 of 73)
23:52:07 – 24:07:00Analyze algorithm performance using Big O notation.
104. Complexity and Big O (part 71 of 73)
24:07:00 – 24:21:52Analyze algorithm performance using Big O notation.
Day 55 · about 38 min · 24:21:52 – 24:51:37
105. Complexity and Big O (part 72 of 73)
24:21:52 – 24:36:45Analyze algorithm performance using Big O notation.
106. Complexity and Big O (part 73 of 73)
24:36:45 – 24:51:37Analyze algorithm performance using Big O notation.
This course is built from a free YouTube video by freeCodeCamp.org. The videos play on YouTube, and the lessons, summaries and quizzes are Notelify’s own study notes. Notelify isn’t affiliated with YouTube or the creator. Creators can ask us to remove a course at support@notelifyapp.com.


