Skip to main content
📜 WAYPOINT LESSON

Checkpoint — Difference Arrays

⭐ beginner⏳ 15 min read📍 Lesson 27 of 281

Pass the graded problem to finish the difference-arrays module.

Checkpoint — mảng hiệu. Pass the graded challenge below to complete the module. The k = 0 test is the subtle one: zero coverage is a legitimate answer only when the problem says "exactly k" and k can be 0. A solution that counts >= k looks identical on most tests — until the boundary arrives.

Điểm kiểm tra — mảng hiệu. Pass bài chấm bên dưới để hoàn thành module. Test k = 0 là chỗ tinh tế: độ phủ 0 là đáp án hợp lệ chỉ khi đề bài nói "đúng k" và k có thể bằng 0. Lời giải đếm >= k trông giống hệt trên phần lớn test — cho tới khi biên xuất hiện.