Glass Filling Puzzle: Logic challenges are becoming increasingly popular these days. They are entertaining and can also help stimulate your…