![[DP] Count Number of Teams](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2Fv7b63%2FbtsI7W0nuDg%2FAAAAAAAAAAAAAAAAAAAAAHSvkVPBoQyH25MGfccFQboi9e1i5d8Zo_milRfrX2L-%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DNXPJz2DRKbccRsqvj4V5GuARF1s%253D)
https://leetcode.com/problems/count-number-of-teams/description/?envType=daily-question&envId=2024-07-29https://github.com/Yellome-in-the-BOK/leetcode/blob/main/240729_Count%20Number%20of%20Teams/explanation.md leetcode/240729_Count Number of Teams/explanation.md at main · Yellome-in-the-BOK/leetcodeContribute to Yellome-in-the-BOK/leetcode development by creating an account on GitHub.github.com..
![[Array, Greedy, Sorting] Minimum Difference Between Largest and Smallest Value in Three Moves](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FbnNTMr%2FbtsIk98bMhW%2FAAAAAAAAAAAAAAAAAAAAAMor8OWh1IM8bCqik-Ef351_DckB50rW3kzPtl5lVjGS%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DFPiIhaSt%252Bj79P0I%252FxDpgVQ%252Fno9M%253D)
https://leetcode.com/problems/minimum-difference-between-largest-and-smallest-value-in-three-moves/description/?envType=daily-question&envId=2024-07-03 🔖 태그 🔖Array, Greedy, Sorting 🔮 문제 🔮정수 array가 있다.3개를 뺐을 때, max(array) - min(array)의 최댓값을 구하라. list와 array의 차이는? list는 여러 타입을, array는 단일 타입을 저장.대신, array는 메모리도 효율적이고 속도도 빠르다. ✨ 인사이트 ✨ max(array) - min(array)를 줄이기 위해서는 array의 최..