Skip to content

Dpham181/project2

 
 

Repository files navigation

Project 2: greedy versus exhaustive

Implement and compare two algorithms that solve the same problem. The first is a greedy algorithm with a fast (i.e. polynomial) running time, while the second is an exhaustive search algorithm with a slow (i.e. exponential) running time.

Both algorithms solve the problem of planning a high-protein diet. More specifically, given a set of many food items available to eat, these algorithms pick a subset of foods that fit within a given calorie budget while maximizing protein content.

Group members:

Anthony Le anthonyle63@csu.fullerton.edu

Danh Pham danhpham312@csu.fullerton.edu

Matthew McCauley mmccauley@csu.fullerton.edu

About

Project 2: greedy versus exhaustive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.6%
  • Makefile 1.4%