Skip to content

solutions to the 2016 berkeley programming contest

Notifications You must be signed in to change notification settings

kvakil/f2016-contest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solutions for the 2016 Berkeley Programming Contest

These are the solutions I wrote for the 2016 Berkeley Programming Contest where I placed second. The algorithms used in the solutions are more interesting than the code itself. Here's a short comment on each problem:

  1. Graph Theory: finding number of paths in a DAG.
  2. Graph Theory: finding shortest distance on a weighted graph.
  3. Discrete Mathematics: (I didn't solve this problem.)
  4. Dynamic Programming: standard dynamic program problem.
  5. Computational Geometry: ray tracing / polygon-in-point.
  6. Data Structures: binary trees.
  7. Discrete Mathematics: binary search.
  8. Discrete Mathematics: a textbook interview problem about textbooks.
  9. Graph Theory: BFS, with some cleverness involved to keep track of Oski.

About

solutions to the 2016 berkeley programming contest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages