This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
usaco-guide/content/4_Silver/1_Silver_Greedy.md

33 lines
1 KiB
Markdown
Raw Normal View History

2020-06-04 01:42:57 +00:00
---
slug: /silver/greedy
2020-06-08 18:07:48 +00:00
title: "Greedy Algorithms"
2020-06-08 08:39:15 +00:00
author: Darren Yao
2020-06-04 05:39:49 +00:00
order: 1
2020-06-04 01:42:57 +00:00
---
2020-06-08 18:07:48 +00:00
**Greedy algorithms** are algorithms that select the optimal choice at each step instead of looking at the solution space as a whole. This reduces the problem to a smaller problem at each step.
<!-- END DESCRIPTION -->
2020-06-03 14:17:07 +00:00
2020-06-08 08:39:15 +00:00
# Tutorials
2020-06-08 18:07:48 +00:00
- Intro to USACO, Chapter 9
2020-06-08 19:51:58 +00:00
- Interval Cover
2020-06-08 18:07:48 +00:00
- CPH 6
2020-06-08 19:51:58 +00:00
- [CPC.5](https://github.com/SuprDewd/T-414-AFLV/tree/master/05_greedy_algorithms)
2020-06-04 05:39:49 +00:00
2020-06-08 08:39:15 +00:00
# Problems
2020-06-08 19:51:58 +00:00
USACO
2020-06-08 18:07:48 +00:00
- [USACO Why Did the Cow Cross the Road](http://www.usaco.org/index.php?page=viewproblem2&cpid=714)
- [USACO Rest Stops](http://www.usaco.org/index.php?page=viewproblem2&cpid=810)
2020-06-08 19:51:58 +00:00
- [USACO High Card Wins](http://usaco.org/index.php?page=viewproblem2&cpid=571)
Misc
- [Sure Bet](https://csacademy.com/contest/archive/task/sure-bet/)
- [Did you Mean...](http://codeforces.com/contest/860/problem/A)
- [Permutation](http://codeforces.com/problemset/problem/864/D)
- [Bus](http://codeforces.com/problemset/problem/864/C)
- [Kayaking](http://codeforces.com/problemset/problem/863/B)