이 글의 코드 및 정보들은 강의 내용을 바탕으로 작성하였습니다.
이 글의 코드 및 정보들은 강의 내용을 바탕으로 작성하였습니다.
이 글의 코드 및 정보들은 강의 내용을 바탕으로 작성하였습니다.
주키퍼는 카프카 클러스터를 운영하기 위해 필요한 어플리케이션이다.
카프카 2.x -> 반드시 필요 O
카프카 3.x -> 반드시 필요 X, 하지만 완벽히 대체하지 못하여 아직까진 주키퍼가 있는 게 안전하다.
You are given an array of characters letters that is sorted in non-decreasing order, and a character target. There are at least two different characters in letters.
Return the smallest character in letters that is lexicographically greater than target. If such a character does not exist, return the first character in letters.
You are given a sorted unique integer array nums.
A range [a,b] is the set of all integers from a to b (inclusive).
Return the smallest sorted list of ranges that cover all the numbers in the array exactly. That is, each element of nums is covered by exactly one of the ranges, and there is no integer x such that x is in one of the ranges but not in nums.
You are given a 0-indexed array nums of n integers, and an integer k.
The k-radius average for a subarray of nums centered at some index i with the radius k is the average of all elements in nums between the indices i - k and i + k (inclusive). If there are less than k elements before or after the index i, then the k-radius average is -1.
Build and return an array avgs of length n where avgs[i] is the k-radius average for the subarray centered at index i.