Các Thử thách Lập trình

Rèn luyện kỹ năng giải quyết vấn đề với các thử thách không phụ thuộc ngôn ngữ, có thể giải bằng Python, C++ hoặc C#. Mỗi lần nộp bài đều được kiểm tra tự động và đánh giá bởi AI.

  • Python · C++ · C#
  • Kiểm tra tự động
  • Đánh giá mã bằng AI
  • Giải pháp cộng đồng
Lộ trình học
150
Thử thách
0
Giải pháp đã chia sẻ
3
Ngôn ngữ

Tất cả thử thách

Tìm theo chủ đề, ngôn ngữ hoặc độ khó.

150 thử thách
Khó

Shortest Delivery Tour

Visit every city once and return home as cheaply as possible.

AdvancedBitmasksCompetitive-programmingDynamic-programming
Chưa có lời giải
Dễ

Distance Between Points

Compute the straight-line distance between two points.

BeginnerFunctionsLearning-pathmath
Chưa có lời giải
Trung bình

Shortest Weighted Routes

Find the minimum total route cost from city 1 to each city.

GraphsPriority-queuesShortest-path
Chưa có lời giải
Khó

Minimum Network Connection Cost

Choose undirected links so that every vertex can reach every other vertex, with minimum total cost.

Disjoint-setsGraphsMinimum-spanning-tree
Chưa có lời giải
Trung bình

Count Islands

Count groups of connected land cells in a grid.

BeginnerGridsLearning-pathRecursion
Chưa có lời giải
Trung bình

Flatten Arbitrarily Nested Lists (Recursion)

Practice recursion by flattening arbitrarily nested lists while skipping null entries.

Data-structuresRecursion
Chưa có lời giải
Trung bình

List Primes With a Sieve

Find primes up to a limit by marking composite multiples.

Number-theorySieve
Chưa có lời giải
Khó

Phân Bổ Phòng Khách Sạn

Phân bổ các nhóm khách đến theo thứ tự.

Segment-treesSimulation
Chưa có lời giải
Khó

Mini Stack-Language Interpreter

Evaluate a small stack language.

InterpretersParsingStacks
Chưa có lời giải
Dễ

Chia Đôi Đến Khi Còn Một

Đếm số lần chia đôi để đưa một số về 1.

BeginnerLearning-pathLoops
Chưa có lời giải
Dễ

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

BeginnerLearning-pathVariables
Chưa có lời giải
Khó

Course Schedule Order

Order courses so every prerequisite comes first.

AdvancedGraphsHackathonTopological-sort
Chưa có lời giải
Khó

Strongly Connected Components

Count groups of nodes that can all reach each other.

AdvancedCompetitive-programmingGraphs
Chưa có lời giải
Khó

Word Break

Decide whether text can be split into dictionary words.

AdvancedDynamic-programmingHackathonStrings
Chưa có lời giải
Trung bình

Gradebook Top Student

Find the student with the highest average score.

BeginnerFunctionsGridsLearning-path
Chưa có lời giải
Dễ

Lãi Suất Đơn Giản

Tính tổng số tiền sau khi áp dụng lãi suất đơn giản.

BeginnerLearning-pathVariables
Chưa có lời giải
Khó

Phần Thưởng Dự Án Tối Đa

Chọn các dự án không chồng lấn để đạt tổng phần thưởng lớn nhất.

Dynamic-programmingScheduling
Chưa có lời giải
Dễ

Days in a Month

Return how many days a month has, including leap years.

BeginnerConditionsFunctionsLearning-path
Chưa có lời giải