My solution to the 2022 Hash Code Google coding competition practice round problem - One Pizza
A - An example => 2 points
B - Basic => 5 points
C - Coarse => 3 points
D - Difficult => 1,708 points
E - Elaborate => 1,428 points
Video explanation of this solution and the problem statement:
If you can optimize upon my solution feel free to do so and share it with me on twitter @CodeLife You also could catch me on Twitch and say hi twitch.tv/CodeLifeCL
Best of luck! ^^