전체 글 96

[코테] 99클럽 코테 스터디 32일차 TIL - 정렬

Question1 - [미들러] Top K 최빈값 찾기 (Top K Frequent Elements) 문제 설명 https://leetcode.com/problems/top-k-frequent-elements/description/ Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order. Example 1:Input: nums = [1,1,1,2,2,3], k = 2Output: [1,2]Example 2:Input: nums = [1], k = 1Output: [1] Constraints:1 -104 k is in the range [1, t..

Dev 2024.06.20

[코테] 99클럽 코테 스터디 30일차 TIL - 문자열

Question1 - [미들러] 최소한의 플립 (Minimum Suffix Flips) 문제 설명 https://leetcode.com/problems/minimum-suffix-flips/description/ You are given a 0-indexed binary string target of length n. You have another binary string s of length n that is initially set to all zeros. You want to make s equal to target.In one operation, you can pick an index i where 0  Return the minimum number of operations needed to ma..

Dev 2024.06.19

[코테] 99클럽 코테 스터디 28일차 TIL - 배열

Question1 - [미들러] 사람들을 주어진 사이즈대로 그룹화하기 (Group the People Given the Group Size They Belong To) 문제 설명 https://leetcode.com/problems/group-the-people-given-the-group-size-they-belong-to/description/ There are n people that are split into some unknown number of groups. Each person is labeled with a unique ID from 0 to n - 1.You are given an integer array groupSizes, where groupSizes[i] is the size o..

Dev 2024.06.17

[Data Viz] The Economist's Glass Ceiling Index

여성의 육아, 유리천장, 그리고 사회적인 지위에 대한 매우 흥미로운 두개의 그래픽 기사. https://www.economist.com/graphic-detail/glass-ceiling-index The Economist’s glass-ceiling indexOur annual measure of the role and influence of women in the workforcewww.economist.comhttps://www.economist.com/interactive/graphic-detail/2024/01/30/how-motherhood-hurts-careers How motherhood hurts careersA new study measures its impact on women’s e..

Data Nrr 2024.06.16

[코테] 99클럽 코테 스터디 26일차 TIL - 배열

Question1 - [미들러] 하위사각형 쿼리  문제 설명 https://leetcode.com/problems/subrectangle-queries/description/ Implement the class SubrectangleQueries which receives a rows x cols rectangle as a matrix of integers in the constructor and supports two methods: 1. updateSubrectangle(int row1, int col1, int row2, int col2, int newValue) Updates all values with newValue in the subrectangle whose upper left coordi..

Dev 2024.06.15