USACO 2013 Open P1: Photo
USACO 2013 US Open, Gold Problem 1. Photo
USACO 2013 US Open, Gold Problem 1. Photo
CSES 1649: Dynamic Range Minimum Queries
Sum of digits
Japan 2005 Domestic: Traveling by Stagecoach
Central Europe 2003: Minimizing maximizer
Japan 2005 Domestic: Traveling by Stagecoach
Course Selection
A Party Without a Boss
KK’s Chemicals
USACO 2007 March Gold P3: Face The Right Way
USACO 2005 December Gold P3: Layout
Slicing Window Query: Min and Max of the Window
KMP Algorithm Explained
Coordinate Compression: Range Sum
Interval DP: Bonus Binary Tree
What is DP on Interval?
DP Multiple Knapsack
DP Mixed Knapsack Problem
DP Finite Automata with Compression: Treasure Hunt
DP Finite Automata with Compression: Password Counting
DP Finite Automata with Compression: DNA Repairing
DP Finite Automata with Compression: Little King
DP Finite Automata with Compression: Corn Yard
DP Finite Automata with Compression: Artillery Position
Group Knapsack Problem
Dynamic Programming: Number Combination
Dynamic Programming: Knapsack with Multiple Contstraits
Dynamic Programming: Currency System
0/1 Knapsack Problem
Missile Defense System
Dynamic Programming: Sister Cities
Dynamic Programming: Chrous
Dynmamic Programming: Passing Notes (Chinese NOIP2008 Intermediate Q3)
Longest Increasing Subsequence O(NlogN) Algorithm
Longest Increasing Subsequence
Longest Common Subsequence
Dynmamic Programming: LCIS (Longest Common Increasing Sequence)
USACO 2015 Feb Bronze
USACO 2016 Dec Bronze
USACO 2014 Jan Silver
USACO 2014 Feb Silver
USACO 2013 Open Silver
USACO 2013 Nov Silver
USACO 2013 Nov Bronze
USACO 2013 Mar Silver
USACO 2013 Feb Silver
USACO 2012 Nov Silver
USACO 2012 Dec Silver
USACO 2011 Nov Silver
USACO 2017 Open Bronze
USACO 2017 Feb Bronze
Floodfill (Recursive)
Sorting with C++ Struct
USACO 2017 Dec Bronze
USACO 2019 Jan Silver
USACO 2017 Jan Bronze
USACO 2019 Jan Silver
USACO 2018 Dec Silver
USACO 2017 Jan Bronze
USACO 2015 Feb Bronze
USACO 2018 Feb Silver
USACO 2018 Open Silver
USACO 2018 Open Bronze
USACO 2020 Feb Bronze
USACO 2017 Open Silver
USACO 2017 Dec Silver
USACO 2020 Jan Silver
USACO 2019 Open Silver
Tree Algorithms
USACO 2016 Dec Gold
USACO 2017 Feb Silver
USACO 2016 Feb Silver
Binary Search
USACO 2019 Feb Silver
USACO 2019 Jan Silver
USACO 2020 Open Silver
USACO 2017 Jan Silver
USACO 2018 Jan Silver
Bitwise Operations and Subset Algorithms
Graph Algorithms
USACO 2020 Jan Bronze
USACO 2020 Feb Silver
USACO 2019 Dec Silver
USACO 2016 Jan Silver
USACO 2016 Dec Silver
Grid Paths
C. An Impassed Circulation of Affection
Binary Search Examples
USACO 2016 Open Silver
Maximum Subarray Sum
USACO 2019 Jan Bronze
USACO 2019 Dec Bronze
USACO 2018 Dec Bronze
USACO 2017 Jan Silver
USACO 2015 Dec Silver
Prefix Sum
Monotonous Stack
USACO 2014 December Silver
USACO 2014 December Gold
Subsets
Permutations
Palindrome Partitioning
Combination Sum
Unique Paths II
Longest Increasing Subsequence
House Robber
Climbing Stairs
Best Time to Buy and Sell Stock
BFS Distance
Boyer-Moore’s Majority Vote Algorithm
Tree Traversal Algorithm
Dijkstra’s Shortest Path
Knights Tour Algorithm
Hamiltonean Cycles
Recursion vs. Dynamic Programming Using a Question from AMC8
Flood Fill
Basic Math in Programming
Function Argument Passing in Python
Merge Sort
Generating Prime Numbers using Sieve of Eratosthenes algorithm
Selection Sort
Quick Short
Binary Search
USACO 2018 Platinum US Open P3 Disruption
USACO 2018 Platinum US Open P3 Disruption
USACO 2019 Gold December P2 Milk Visits
USACO 2019 February Contest, Gold P1. Cow Land
USACO 2020 Gold Open P1: Cow Haircut
USACO 2015 Gold February P1: Cow Hopscotch
USACO 2016 2016 Platinum Open P1. 262144
USACO 2018 Gold US Open P2. Milking Order
USACO 2019 Platinum January P3: Train Tracking 2
USACO 2015 Gold January P2. Moovie Mooving
USACO 2014 Gold November P1. Balanced Cow Breeds
USACO 2010 Gold January P1. Taking Turns
USACO 2020 Bronze December P2. Even More Odd Photos
USACO 2020 Bronze December P3. Stuck in a Rut
USACO 2019 Bronze December P3. Livestock Lineup
USACO 2017 Bronze January P3. Cow Tipping
USACO 2018 December Contest, Bronze
USACO 2017 Gold January P3. Cow Navigation
USACO 2016 Gold December P3. Lasers and Mirrors
USACO 2021 Silver January P3: Spaced Out
USACO 2021 Silver January P1: Dance Mooves
USACO 2021 Silver February P2. Year of the Cow
USACO 2021 Gold Open Q2. Portals
USACO 2021 Gold January P2: Telephone
USACO 2021 Bronze January P3: Just Stalling
USACO 2021 Bronze January P2: Even More Odd Photos
USACO 2021 Bronze February P3. Clockwise Fence
USACO 2020 Silver US Open P2: Cereal
USACO 2020 Silver US Open P1: Social Distancing
USACO 2020 Silver December P3: Stuck in a Rut
USACO 2020 Silver December P2: Rectangular Pasture
USACO 2020 Silver December P1: Cowntagion
USACO 2019 Silver December P2: Meetings
USACO 2019 Gold January P2: Sleepy Cow Herding
USACO 2018 Gold US Open P3: Talent Show
USACO 2018 Gold February P3. Taming the Herd
USACO 2018 Gold December P3. Teamwork
USACO 2017 Gold January P2: Hoof, Paper, Scissors
USACO 2017 Gold February P2. Why Did the Cow Cross the Road II
USACO 2017 Gold December P3: Haybale Feast
USACO 2017 Gold December P3: Barn Painting
USACO 2016 Gold US Open P2: Closing the Farm
USACO 2016 Gold January P2: Radio Contact
USACO 2016 Gold December Q2: Cow Checklist
USACO 2015 Silver US Open P3. Bessie’s Birthday Buffet
USACO 2015 Silver January P3. Meeting Time
USACO 2015 Silver January P2: Cow Routing
USACO 2015 Silver January P1: Stampede
USACO 2015 Silver February P3: Superbull
USACO 2015 Silver February P2: Cow Hopscotch
USACO 2013 Silver November P3. Pogo-Cow
USACO 2013 Silver March P3: The Cow Run
USACO 2021 Gold Open Q2. Portals
USACO 2021 Gold Open Q1. United Cows of Farmer John
USACO 2007 March Gold P3: Face The Right Way
USACO 2005 December Gold P3: Layout
USACO 2015 Feb Bronze
USACO 2016 Dec Bronze
USACO 2014 Jan Silver
USACO 2014 Feb Silver
USACO 2013 Open Silver
USACO 2013 Nov Silver
USACO 2013 Nov Bronze
USACO 2013 Mar Silver
USACO 2013 Feb Silver
USACO 2012 Nov Silver
USACO 2012 Dec Silver
USACO 2011 Nov Silver
USACO 2017 Open Bronze
USACO 2017 Feb Bronze
USACO 2017 Dec Bronze
USACO 2019 Jan Silver
USACO 2017 Jan Bronze
USACO 2019 Jan Silver
USACO 2018 Dec Silver
USACO 2017 Jan Bronze
USACO 2015 Feb Bronze
USACO 2018 Feb Silver
USACO 2018 Open Silver
USACO 2018 Open Bronze
USACO 2020 Feb Bronze
USACO 2017 Open Silver
USACO 2017 Dec Silver
USACO 2020 Jan Silver
USACO 2019 Open Silver
USACO 2016 Dec Gold
USACO 2017 Feb Silver
USACO 2016 Feb Silver
USACO 2019 Feb Silver
USACO 2019 Jan Silver
USACO 2020 Open Silver
USACO 2017 Jan Silver
USACO 2018 Jan Silver
USACO 2020 Jan Bronze
USACO 2020 Feb Silver
USACO 2019 Dec Silver
USACO 2016 Jan Silver
USACO 2016 Dec Silver
USACO 2016 Open Silver
USACO 2019 Jan Bronze
USACO 2019 Dec Bronze
USACO 2018 Dec Bronze
USACO 2017 Jan Silver
USACO 2015 Dec Silver
USACO 2014 December Silver
USACO 2014 December Gold
USACO 2019 Jan Bronze
Course Selection
A Party Without a Boss
KK’s Chemicals
Slicing Window Query: Min and Max of the Window
KMP Algorithm Explained
Coordinate Compression: Range Sum
Interval DP: Bonus Binary Tree
What is DP on Interval?
DP Multiple Knapsack
DP Mixed Knapsack Problem
DP Finite Automata with Compression: Treasure Hunt
DP Finite Automata with Compression: Password Counting
DP Finite Automata with Compression: DNA Repairing
DP Finite Automata with Compression: Little King
DP Finite Automata with Compression: Corn Yard
DP Finite Automata with Compression: Artillery Position
Group Knapsack Problem
Dynamic Programming: Number Combination
Dynamic Programming: Knapsack with Multiple Contstraits
Dynamic Programming: Currency System
0/1 Knapsack Problem
Missile Defense System
Dynamic Programming: Sister Cities
Dynamic Programming: Chrous
Dynmamic Programming: Passing Notes (Chinese NOIP2008 Intermediate Q3)
Longest Increasing Subsequence O(NlogN) Algorithm
Longest Increasing Subsequence
Longest Common Subsequence
Dynmamic Programming: LCIS (Longest Common Increasing Sequence)
USACO 2014 Jan Silver
USACO 2014 Feb Silver
USACO 2013 Open Silver
USACO 2013 Nov Silver
USACO 2013 Mar Silver
USACO 2013 Feb Silver
USACO 2012 Nov Silver
USACO 2012 Dec Silver
USACO 2011 Nov Silver
Floodfill (Recursive)
Sorting with C++ Struct
Tree Algorithms
Binary Search
C. Maximum Median
Bitwise Operations and Subset Algorithms
Grid Paths
C. An Impassed Circulation of Affection
Binary Search Examples
USACO 2014 December Silver
USACO 2015 Feb Bronze
USACO 2016 Dec Bronze
USACO 2013 Nov Bronze
USACO 2017 Open Bronze
USACO 2017 Feb Bronze
USACO 2017 Dec Bronze
USACO 2017 Jan Bronze
USACO 2017 Jan Bronze
USACO 2015 Feb Bronze
USACO 2018 Open Bronze
USACO 2019 Dec Bronze
USACO 2018 Dec Bronze
Project 1: Pong
Mnemonic Generation (BIP39) Algorithm Mnemonic a tool that helps you remember an idea or phrase with a pattern of letters. This article explains the Mnemonic...
Recursion vs. Dynamic Programming Using a Question from AMC8
Project 2: Snake
Project 3: Guess The Number
Project 4: Rock Paper Scissors
Simple Substitution Cipher Simple Substitution Cipher differs from Caesar Cipher in that the cipher alphabet is not simply shifted, it uses a look up table (...
Rail-fence Cipher The rail fence cipher is a very simple cipher. It transposes the plaintext to form the cipher text. It can be combined with other ciphers, ...
Basic Math in Programming
Function Argument Passing in Python
Project Euler in Python Series 1
Enigma Machine in Python
Caesar Cipher In cryptography, a Caesar cipher is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in whi...
Modeling a cannon using Python
Two Dimensional Motion
Generating Prime Numbers using Sieve of Eratosthenes algorithm
One Dimensional Motion
Selection Sort
Quick Short
Binary Search
Introduction to Python Lesson 1: Variables and Print
Conway’s Game of Life
Introduction to Python Lesson 2: Statement and Flow Control
Introduction to Python Lesson 3: List and Loops
Introduction to Python Lesson 4: Turtle Graphics
Introduction to Python Lesson 5: Collections and Functions
Project Euler in Python Series 2
Project Euler in Python Series 3
Course Selection
A Party Without a Boss
KK’s Chemicals
Interval DP: Bonus Binary Tree
What is DP on Interval?
DP Multiple Knapsack
DP Mixed Knapsack Problem
DP Finite Automata with Compression: Treasure Hunt
DP Finite Automata with Compression: Password Counting
DP Finite Automata with Compression: DNA Repairing
DP Finite Automata with Compression: Little King
DP Finite Automata with Compression: Corn Yard
DP Finite Automata with Compression: Artillery Position
Group Knapsack Problem
Dynamic Programming: Number Combination
Dynamic Programming: Knapsack with Multiple Contstraits
Dynamic Programming: Currency System
0/1 Knapsack Problem
Dynamic Programming: Sister Cities
Dynamic Programming: Chrous
Dynmamic Programming: Passing Notes (Chinese NOIP2008 Intermediate Q3)
Longest Increasing Subsequence O(NlogN) Algorithm
Longest Increasing Subsequence
Longest Common Subsequence
Dynmamic Programming: LCIS (Longest Common Increasing Sequence)
C. An Impassed Circulation of Affection
USACO 2016 Open Silver
Maximum Subarray Sum
Unique Paths II
Longest Increasing Subsequence
House Robber
Climbing Stairs
Best Time to Buy and Sell Stock
Recursion vs. Dynamic Programming Using a Question from AMC8
Graph Algorithms
Maximum Subarray Sum
Prefix Sum
Monotonous Stack
USACO 2014 December Silver
USACO 2014 December Gold
Subsets
Permutations
Palindrome Partitioning
Combination Sum
Unique Paths II
Longest Increasing Subsequence
House Robber
Climbing Stairs
Best Time to Buy and Sell Stock
BFS Distance
Boyer-Moore’s Majority Vote Algorithm
Tree Traversal Algorithm
Dijkstra’s Shortest Path
Knights Tour Algorithm
Hamiltonean Cycles
Flood Fill
Merge Sort
USACO 2019 Gold December P2 Milk Visits
USACO 2019 February Contest, Gold P1. Cow Land
USACO 2020 Gold Open P1: Cow Haircut
USACO 2018 Gold US Open P2. Milking Order
USACO 2021 Gold Open Q2. Portals
USACO 2021 Gold January P2: Telephone
USACO 2019 Gold January P2: Sleepy Cow Herding
USACO 2018 Gold US Open P3: Talent Show
USACO 2018 Gold February P3. Taming the Herd
USACO 2018 Gold December P3. Teamwork
USACO 2017 Gold January P2: Hoof, Paper, Scissors
USACO 2017 Gold February P2. Why Did the Cow Cross the Road II
USACO 2017 Gold December P3: Haybale Feast
USACO 2017 Gold December P3: Barn Painting
USACO 2016 Gold US Open P2: Closing the Farm
USACO 2016 Gold January P2: Radio Contact
USACO 2016 Gold December Q2: Cow Checklist
USACO 2018 Gold December Q3. Teamwork
USACO 2021 Gold Open Q2. Portals
USACO 2021 Gold Open Q1. United Cows of Farmer John
USACO 2017 Gold January P3. Cow Navigation
USACO 2016 Gold December P3. Lasers and Mirrors
USACO 2021 Silver January P3: Spaced Out
USACO 2021 Silver January P1: Dance Mooves
USACO 2021 Silver February P2. Year of the Cow
USACO 2020 Silver US Open P2: Cereal
USACO 2020 Silver US Open P1: Social Distancing
USACO 2020 Silver December P3: Stuck in a Rut
USACO 2020 Silver December P2: Rectangular Pasture
USACO 2020 Silver December P1: Cowntagion
USACO 2019 Silver December P2: Meetings
USACO 2015 Silver US Open P3. Bessie’s Birthday Buffet
USACO 2015 Silver January P3. Meeting Time
USACO 2015 Silver January P2: Cow Routing
USACO 2015 Silver January P1: Stampede
USACO 2015 Silver February P3: Superbull
USACO 2015 Silver February P2: Cow Hopscotch
USACO 2013 Silver November P3. Pogo-Cow
USACO 2013 Silver March P3: The Cow Run
USACO 2018 Platinum US Open P3 Disruption
USACO 2018 Platinum US Open P3 Disruption
USACO 2015 Gold February P1: Cow Hopscotch
USACO 2016 2016 Platinum Open P1. 262144
USACO 2019 Platinum January P3: Train Tracking 2
Cow Hopscotch
IOI 2003 Seeing the Boundary [Memory: 32 MB CPU: 2 sec]
USACO 2017 Platinum January P1. Promotion Counting
USACO 2014 Gold December P1. Guard Mark
USACO 2015 Gold January P2. Moovie Mooving
USACO 2014 Gold November P1. Balanced Cow Breeds
USACO 2010 Gold January P1. Taking Turns
USACO 2020 Bronze December P2. Even More Odd Photos
USACO 2020 Bronze December P3. Stuck in a Rut
USACO 2019 Bronze December P3. Livestock Lineup
USACO 2017 Bronze January P3. Cow Tipping
USACO 2018 December Contest, Bronze
USACO 2021 Bronze January P3: Just Stalling
USACO 2021 Bronze January P2: Even More Odd Photos
USACO 2021 Bronze February P3. Clockwise Fence
0/1 Knapsack Problem
Subsets
Permutations
Palindrome Partitioning
Combination Sum
Knights Tour Algorithm
Hamiltonean Cycles
USACO 2019 Open Silver
USACO 2016 Feb Silver
Binary Search
USACO 2020 Open Silver
C. Maximum Median
Binary Search Examples
DP Finite Automata with Compression: Treasure Hunt
DP Finite Automata with Compression: Password Counting
DP Finite Automata with Compression: DNA Repairing
DP Finite Automata with Compression: Little King
DP Finite Automata with Compression: Corn Yard
DP Finite Automata with Compression: Artillery Position
Basic Math in Programming
Project Euler in Python Series 1
Generating Prime Numbers using Sieve of Eratosthenes algorithm
Project Euler in Python Series 2
Project Euler in Python Series 3
Project 1: Pong
Project 2: Snake
Project 3: Guess The Number
Project 4: Rock Paper Scissors
Conway’s Game of Life
Mnemonic Generation (BIP39) Algorithm Mnemonic a tool that helps you remember an idea or phrase with a pattern of letters. This article explains the Mnemonic...
Simple Substitution Cipher Simple Substitution Cipher differs from Caesar Cipher in that the cipher alphabet is not simply shifted, it uses a look up table (...
Rail-fence Cipher The rail fence cipher is a very simple cipher. It transposes the plaintext to form the cipher text. It can be combined with other ciphers, ...
Enigma Machine in Python
Caesar Cipher In cryptography, a Caesar cipher is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in whi...
USACO 2007 March Gold P3: Face The Right Way
Bitwise Operations and Subset Algorithms
Graph Algorithms
BFS Distance
DP Multiple Knapsack
DP Mixed Knapsack Problem
Group Knapsack Problem
0/1 Knapsack Problem
Project Euler in Python Series 1
Project Euler in Python Series 2
Project Euler in Python Series 3
Modeling a cannon using Python
Two Dimensional Motion
One Dimensional Motion
Slicing Window Query: Min and Max of the Window
KMP Algorithm Explained
Monotonous Stack
USACO 2005 December Gold P3: Layout
C. An Impassed Circulation of Affection
USACO 2016 Open Silver
Tree Algorithms
USACO 2019 Feb Silver
Graph Algorithms
Boyer-Moore’s Majority Vote Algorithm
Dijkstra’s Shortest Path
Tree Algorithms
Tree Traversal Algorithm
Maximum Subarray Sum
Prefix Sum
USACO 2019 Feb Silver
Graph Algorithms
DP Multiple Knapsack
DP Mixed Knapsack Problem
Interval DP: Bonus Binary Tree
What is DP on Interval?
Slicing Window Query: Min and Max of the Window
KMP Algorithm Explained
Course Selection
A Party Without a Boss
Sum of digits
Japan 2005 Domestic: Traveling by Stagecoach
Japan 2005 Domestic: Traveling by Stagecoach
Central Europe 2003: Minimizing maximizer
USACO 2013 US Open, Gold Problem 1. Photo
CSES 1649: Dynamic Range Minimum Queries
USACO 2019 Jan Bronze
Recursion vs. Dynamic Programming Using a Question from AMC8
Sorting with C++ Struct
Coordinate Compression: Range Sum
USACO 2007 March Gold P3: Face The Right Way
KK’s Chemicals
Path Queries II