arrow_backThư viện
KORRA.CODES

Algorithms That Finish In Time

Your Bronze solution was correct and the judge failed it anyway, because correct was never the whole test. This segment is about the other half of the verdict: counting the work before you write the code, and the four tools — sorting, binary search on the answer, prefix sums and two pointers, and greed you can defend — that turn a right answer that arrives late into a right answer that arrives.

4 mô-đun · 12 bài học · 7h 32m
Mở khóa bằng khoá học thành viênlock
Nội dung khóa học
1 Why a Correct Answer Fails 3 bài học · 1h 25m lock
  • play_circle Marked Late Is Marked Wrong 20m
  • play_circle The Solution That Times Out 45m
  • play_circle Counting Before You Code 20m
2 Sorting and Searching as Tools 3 bài học · 1h 55m lock
  • play_circle What Sorting Buys You 20m
  • play_circle The Pallet Count, Done Properly 45m
  • play_circle Binary Search on the Answer 50m
3 The Running Total, Two Fingers, and Defensible Greed 3 bài học · 1h 52m lock
  • play_circle The Running Total You Keep 45m
  • play_circle Two Fingers on One Array 45m
  • play_circle Greedy You Can Defend 22m
4 Four Problems, Each Solved Twice 3 bài học · 2h 20m lock
  • play_circle Pairs at a Fixed Distance 45m
  • play_circle The Best Week 40m
  • play_circle The Van and the Corridor 55m
workspace_premium

Khóa học này là một phần của khoá học thành viên.

Mở khóa mọi bài học trong mọi khóa học — cộng với các phiên nhóm không giới hạn và tín chỉ 1-trên-1 của bạn.

Xem khoá học thành viên
vi