Given an array of integers nums, return the number of good pairs.
A pair (i, j) is called good if nums[i] == nums[j] and i < j.
Given an integer n, break it into the sum of k positive integers, where k >= 2, and maximize the product of those integers.
Return the maximum product you can get.
Given a string s, check if it can be constructed by taking a substring of it and appending multiple copies of the substring together.
Given a string s, rearrange the characters of s so that any two adjacent characters are not the same.
Return any possible rearrangement of s or return "" if not possible.
이 글의 코드 및 정보들은 강의 내용을 바탕으로 작성하였습니다.
커넥터는 태스크들을 관린한다.
태스트가 실질적인 데이터 처리를 담당한다.
커넥트안에 커넥터가 존재한다.
커넥트가 프로세스로 실행되는데 소스 커넥터를 1개 쓰레드로 실행
이 글의 코드 및 정보들은 강의 내용을 바탕으로 작성하였습니다.
프로듀서와 컨슈머를 조합하지 않고 스트림즈를 사용해야 하는 이유