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
2
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ó.

15 thử thách
Trung bình

K-th Smallest Element

Find the k-th smallest value without fully sorting.

AdvancedCompetitive-programmingSorting
Chưa có lời giải
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
Khó

Count Inversions

Count the out-of-order pairs in a list.

AdvancedCompetitive-programmingSorting
Chưa có lời giải
Trung bình

Game of Life Step

Advance Conway's Game of Life by one generation.

AdvancedGridsHackathonSimulation
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ó

Longest Path in a DAG

Find the heaviest path in a task dependency graph.

AdvancedGraphsHackathonTopological-sort
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
Khó

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

AdvancedBinary-searchCompetitive-programming
Chưa có lời giải
Khó

Minimum Window Substring

Find the shortest piece of text containing all required characters.

AdvancedCompetitive-programmingSliding-windowStrings
Chưa có lời giải
Trung bình

Chu vi đảo

Tính chiều dài đường bờ biển của các ô đất trong lưới.

AdvancedGridsHackathon
Chưa có lời giải
Khó

Largest Rectangle in a Histogram

Find the largest rectangle that fits under a histogram.

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

Trapping Rain Water

Compute how much rain water an elevation map holds.

AdvancedArraysCompetitive-programmingGreedy
Chưa có lời giải
Khó

Matrix Chain Multiplication

Find the cheapest order to multiply a chain of matrices.

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

Sliding Window Maximum

Report the maximum of every window of k numbers.

AdvancedCompetitive-programmingSliding-window
Chưa có lời giải