This repository consists of a couple of different solutions for the 2020 Google Hashcode Practice Question - More Pizza.
calculateSlices.js -> This is a greedy approach to solve this problem.
knapsack.js -> Using the knapsack algorithm with memoization. (Only calculates the total that can be obtained. Does not work with data sets d and e)
sort.js -> Inspired by "senesh-deshan's" python solution to the problem, this solution provides the best results. (https://github.com/senesh-deshan/Google-Hash-Code-2020/tree/v3)