Algorithm Complexity
Why do some algorithms slow down with large data? Big-O notation describes how execution time grows with input size. Learn O(1), O(n), O(n²), and O(log n).
Algorithms, variables, control structures and functions for those just starting to code.
Articles in path
7
Slug
logica-de-programacao
Category
Programming Logic
Why do some algorithms slow down with large data? Big-O notation describes how execution time grows with input size. Learn O(1), O(n), O(n²), and O(log n).
Arrays group multiple values under a single name, accessible by index. Learn to create, iterate over, and operate on arrays and lists with practical examples.
Conditional statements allow a program to make decisions. Understand if, else, else-if, logical operators, and how to avoid the most common mistakes with conditionals.
Functions are reusable blocks of code with their own name. Learn to create functions with parameters and return values, understand scope, and apply the DRY principle.
Understand what programming logic is, how algorithms show up in everyday life, and why learning to think in sequences of steps is essential in any field.
Loops allow executing blocks of code multiple times without duplicating instructions. Learn about for, while, do-while, and best practices to avoid errors.
Variables are the foundation of any program. Learn to declare, assign, and use variables with the correct data types to avoid common errors.