Before you learn any data structure, you need a way to judge it. Two programs can give the same answer, yet one finishes instantly and the other grinds to a halt once the input gets large. Complexity analysis gives you a language for that difference, and Big O notation is the standard way to write it down: how the number of steps, or the amount of memory, grows as the input grows.
This module starts with a short introduction to what Big O means and why it ignores constants and counts growth instead of seconds. It then works through the common complexity classes, from constant and logarithmic time up to quadratic, exponential and factorial, and shows how to read them straight off loops, nested loops and recursive calls. It also covers space complexity and the mistakes people make most often when analyzing their own code.
Watch the lessons in order, then continue on to Arrays & Strings, where you will use this vocabulary on your first real data structure.
A quick first pass at what Big O notation is and how to work out the time and space complexity of a piece of code. A good way to get the vocabulary before going deeper.
A crash course on Big O and time complexity, focused on how to evaluate and talk about the performance of different solutions to the same problem.
Tech With Tim explains Big O, then works through a long series of practice questions from easy to hard, so you get used to reading loops and nested code and stating their complexity.
freeCodeCamp.org's full course goes through O(n^2), O(n^3), O(2^n) with Fibonacci and O(n!) with diagrams and code, and finishes with space complexity and common mistakes.