99클럽 코테 스터디 27일차 TIL: [LeetCode] 2860. Happy Students https://leetcode.com/problems/happy-students/description/class Solution { public int countWays(List arr) { Collections.sort(arr); int ways=0, ans=0; if(arr.get(0)>ans){ ways++; } ans++; for(int i=1;ians){ ways++; } ans++; } if(arr... CS/Algorism 2024.06.16