JAVA☕ ||  3 Liner Code✅ || Easy-UnderStanding
DON\'T FORGET TO UPVOTE IT HELPS A LOT\n\nclass Solution {\n    public int fillCups(int[] amount) {\n        int max = Math.max(Math.max(amount[0],amount[1]),am
**DON\'T FORGET TO UPVOTE IT HELPS A LOT**\n```\nclass Solution {\n    public int fillCups(int[] amount) {\n        int max = Math.max(Math.max(amount[0],amount[1]),amount[2]);\n        int sum = amount[0] + amount[1] + amount[2];\n        return Math.max(max , (sum+1)/2);\n    }\n}\n```\n**UPVOTE IF YOU LIKED SOLUTION**\n# UPVOTE
['Java']