문제 app.codility.com/programmers/lessons/5-prefix_sums/genomic_range_query/ [ GenomicRangeQuery coding task - Learn to Code - Codility Find the minimal nucleotide from a range of sequence DNA. app.codility.com ](https://app.codility.com/programmers/lessons/5-prefix_sums/genomic_range_query/) 문제 ACGT = [1,2,3,4] 염기서열이 들어있는 S가 주어진다. P[index] ~ Q[index] 까지의 염기서열 중 제일 작은 크기를 가져와 배열을 만든다 리턴 풀이 ACGT배열을..
app.codility.com/programmers/lessons/4-counting_elements/ 4. Counting Elements lesson - Learn to Code - Codility Calculate the values of counters after applying all alternating operations: increase counter by 1; set value of all counters to current maximum. app.codility.com 문제 마지막 카운터의 배열을 반환하라 조건 counter(X) -> arr[k] K번째 1증가. max Counter -> arr[k] == N+1 -> 모든 카운터 Max값 풀이 Arr[N] 개 만든다. A[K] [In..
