This is my source code for solving problem set 1 in the course 6.0002 at OpenCourseWare
Feel free to contact me at my personal email: Trung Dũng Trịnh
You can find this course at these websites:
I also added the guideline pdf file named as MIT6_0002F16_ProblemSet1
This repository contains 6 files in total, included 1 .pdf file, 2 .txt files, 3 .py files:
- MIT6_0002F16_ProblemSet1 contains the requirements of this problem set
- ps1_cow_data contains the data for cows to be transported
- ps1_cow_data_2 includes set of cows for another separate transport
- ps1_partition is the helper function which generates the partition of a set
- ps1a contains 4 functions we need to implement by using Greedy Algorithm and Brute Force Algorithm
- ps1b contains only 1 function which can be implemented by using Dynamic Programming technique
This course is under Creative Common License