- Executores
-
Aprender
Aprender Python Exemplos executáveis, NumPy, pandas e mais Aprender IARedes neurais, ML e LLMs do zero Aprender C e C++ Ponteiros, memória, STL e C++ moderno Aprender C#Fundamentos, POO, LINQ, async e exercícios .NET Aprender MatplotlibGráficos de linha, barras, dispersão e pizza com visualizadores Aprender RustOwnership, traits, tratamento de erros e threads Aprender GoSlices, interfaces, goroutines e channels Algoritmos em Python Busca, ordenação, recursão e visualizações O(n) Algoritmos em C e C++ Compare implementações em C e C++ Programação para crianças Aprenda a programar brincando!
- DesafiosNovo
- Para professoresNovo
- Atualizações
- Me pague um café
Fundamentos de Rust
Do primeiro programa a variáveis, tipos, condições, laços, strings, vetores e funções, com um desafio depois de cada tema.
1 Primeiros passos 5 lições
- Lição 2 desafios Hello World and Program Structure Write your first Rust program and learn what fn main and println! do.
- Lição 2 desafios Variables and Mutability Declare variables with let, allow changes with mut, and use constants and shadowing.
- Lição 2 desafios Data Types Work with integers, floating-point numbers, booleans and characters, and convert between them.
- Lição 2 desafios Operators and Arithmetic Use arithmetic, comparison and logical operators, and see how integer division works.
- Lição 2 desafios Reading User Input Read a line from the keyboard and turn it into a number safely.
2 Decisões 2 lições
- Lição 2 desafios Conditions with if and else Choose what runs with if, else if and else, and use if as an expression.
- Lição 1 desafio FizzBuzz Solve the classic FizzBuzz problem with match on a tuple.
3 Laços 2 lições
- Lição 2 desafios Loops: for, while and loop Repeat code with for over a range, while with a condition, and loop with break.
- Lição 2 desafios Prime Numbers Check whether a number is prime and list the primes up to 30.
4 Strings e texto 2 lições
- Lição 2 desafios Strings: String and &str Create, grow, search and split text with Rust's two string types.
- Lição 1 desafio Reverse a String Reverse the characters of a string and the words of a sentence.
5 Coleções 3 lições
- Lição 2 desafios Tuples and Arrays Group values with tuples and store a fixed number of items in an array.
- Lição 2 desafios Vectors Store a growing list of values in a Vec and read items safely.
- Lição 2 desafios Fibonacci Sequence Generate Fibonacci numbers with a loop and a vector.
6 Funções 2 lições
- Lição 2 desafios Functions and Return Values Define functions with typed parameters and return values.
- Lição 2 desafios Binary Search Find a value in a sorted slice by halving the search range.