GitHub repository: randomthinkr/wateroverflow
Primary language: Java
Created: 2022-05-06T02:41:08Z
Description: This is a simple Java RESTful API application that generates a stack of glasses with corresponding water levels. Water is first poured in the top glass and, depending on the glass capacity, the water overflows with half of the excess water distributed to the left glass one row and one column below it and to the right of that glass in the same row. The glass stack follows that Pascal's Triangle structure.