학습 경로

Rust 기초 다지기

첫 프로그램부터 변수, 타입, 조건문, 반복문, 문자열, 벡터, 함수까지 배우고, 주제마다 챌린지로 확인합니다.

레슨 17개 · 챌린지 31개

1 시작하기 레슨 5개

  1. 레슨 챌린지 2개 Hello World and Program Structure Write your first Rust program and learn what fn main and println! do.
  2. 레슨 챌린지 2개 Variables and Mutability Declare variables with let, allow changes with mut, and use constants and shadowing.
  3. 레슨 챌린지 2개 Data Types Work with integers, floating-point numbers, booleans and characters, and convert between them.
  4. 레슨 챌린지 2개 Operators and Arithmetic Use arithmetic, comparison and logical operators, and see how integer division works.
  5. 레슨 챌린지 2개 Reading User Input Read a line from the keyboard and turn it into a number safely.

2 조건문 레슨 2개

  1. 레슨 챌린지 2개 Conditions with if and else Choose what runs with if, else if and else, and use if as an expression.
  2. 레슨 챌린지 1개 FizzBuzz Solve the classic FizzBuzz problem with match on a tuple.

3 반복문 레슨 2개

  1. 레슨 챌린지 2개 Loops: for, while and loop Repeat code with for over a range, while with a condition, and loop with break.
  2. 레슨 챌린지 2개 Prime Numbers Check whether a number is prime and list the primes up to 30.

4 문자열 레슨 2개

  1. 레슨 챌린지 2개 Strings: String and &str Create, grow, search and split text with Rust's two string types.
  2. 레슨 챌린지 1개 Reverse a String Reverse the characters of a string and the words of a sentence.

5 컬렉션 레슨 3개

  1. 레슨 챌린지 2개 Tuples and Arrays Group values with tuples and store a fixed number of items in an array.
  2. 레슨 챌린지 2개 Vectors Store a growing list of values in a Vec and read items safely.
  3. 레슨 챌린지 2개 Fibonacci Sequence Generate Fibonacci numbers with a loop and a vector.

6 함수 레슨 2개

  1. 레슨 챌린지 2개 Functions and Return Values Define functions with typed parameters and return values.
  2. 레슨 챌린지 2개 Binary Search Find a value in a sorted slice by halving the search range.

7 객체와 클래스 레슨 1개

  1. 레슨 챌린지 1개 Structs Group related values into your own type with named fields.
다음 단계: 프로그래밍 기초