Skip to content

Instantly share code, notes, and snippets.

@sharmaeklavya2
Last active August 31, 2017 12:58
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sharmaeklavya2/6eb7e18b69124e1d7ea5 to your computer and use it in GitHub Desktop.
Save sharmaeklavya2/6eb7e18b69124e1d7ea5 to your computer and use it in GitHub Desktop.
CPSIG 2014 problems

CPSIG 2014 Problems

This is a list of problems suggested by seniors who taught in the 2014 CPSIG. You can read theory from tutorials on Codechef or TopCoder or a book on algorithms.

Stack

Easy:

Transform the expression

Tough:

Dynamic Programming

Easy:

  • Coins Game
  • Alphacode
  • Bytelandian gold coins (Hint: Having an array of size 10^9 will not work (if one integer takes 4 bytes, think of how much memory this would consume). Try to use some other data structure for memoization (think of the STL data structures))

Medium:

Greedy:

Chocolate

Graphs:

Algorithm Games:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment