ORA·techORA·tech

Học nhanh · Phỏng vấn nhanh

Luyện phỏng vấn
Khám phá
  • Trang chủ
    • Tổng quan
    • Thư viện câu hỏi
    • Sprint phỏng vấn
    • Mô phỏng thực tế phỏng vấn
    • Ôn câu hỏi ghi nhớ
    • Bảng xếp hạng
    • Free vs Pro
  • Tool
  • Dev Document
  • AI
  • Góp ý
  • Generic Security
  • ISMS
ORA·tech
⌘K
Phỏng vấn 20'
Đăng nhập
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
anonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·techanonymous · 23:08 3/6/26 · ORA·tech
2026 ORA Team·Xây với ❤️ cho người học nhanh·Chính sách bảo mật·Điều khoản·phiên bản f5e8cbb6
Thư viện/Backend/Python
Trung bình Pro#python

Generator và yield trong Python là gì? Khi nào nên sử dụng?

15 tháng 2, 2026

Tóm tắt nhanh

Generator là một iterator đặc biệt hoạt động theo cơ chế lazy evaluation (đánh giá trì hoãn). Bằng cách dùng `yield` thay vì `return`, Generator giúp xử lý các tập dữ liệu cực lớn hoặc vô hạn mà không làm tràn bộ nhớ RAM.

guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech
guest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·techguest · ORA·tech

Đáp án mẫu:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.

Nội dung dành cho Pro

Mở khoá toàn bộ câu hỏi Trung bình & Nâng cao + đáp án chi tiết.

Nâng cấp Pro

Câu hỏi liên quan

Trung bình Pro

Sự khác biệt giữa toán tử `is` và `==` trong Python là gì?

Dễ

Phân biệt Mutable vs Immutable trong Python và lỗi Mutable Default Argument

Nâng cao Pro

Cơ chế `__slots__` trong Python là gì và khi nào nên sử dụng để tối ưu bộ nhớ?

Trung bình Pro

Phân biệt instance method, @classmethod và @staticmethod trong Python

Trung bình Pro

Cơ chế async/await và Event Loop hoạt động như thế nào trong Python?

Quay lại chủ đề