cmdrGuyson / hashcode_more_pizza

2020 Google hash code practice problem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More Pizza

Google Hashcode 2020 Practice Question

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)

About

2020 Google hash code practice problem


Languages

Language:JavaScript 100.0%