An array A consisting of N integers is given. Rotation of the array means that each element is shifted right by one index, and the last element of the

2023년 4월 9일

https://app.codility.com/demo/results/training9GEGBK-XZE/// you can also use imports, for example:// import java.util.\*;// you can write to stdo

2023년 5월 27일

An array A consisting of N integers is given. It contains daily prices of a stock share for a period of N consecutive days. If a single share was boug

2023년 5월 25일

A positive integer D is a factor of a positive integer N if there exists an integer M such that N = D \* M.For example, 6 is a factor of 24, because M

2023년 5월 27일

https://app.codility.com/demo/results/training7PAXM8-RG2/An array A consisting of N integers is given. A triplet (P, Q, R) is triangular if 0 ≤ P

2023년 4월 27일

https://app.codility.com/demo/results/trainingVBMRVB-VZN/Write a function:class Solution { public int solution(int A, int B, int K); }that, given

2023년 4월 27일

https://app.codility.com/demo/results/training9B7SKX-4BC/A non-empty array A consisting of N integers is given.A permutation is a sequence contai

2023년 4월 23일

카데인 알고리즘A non-empty array A consisting of N integers is given. A pair of integers (P, Q), such that 0 ≤ P ≤ Q < N, is called a slice of array A. Th

2023년 4월 22일

https://app.codility.com/demo/results/trainingFDG7DR-9SG/You are given two non-empty arrays A and B consisting of N integers. Arrays A and B repr

2023년 4월 24일

Two positive integers N and M are given. Integer N represents the number of chocolates arranged in a circle, numbered from 0 to N − 1.You start to eat

2023년 5월 27일

A non-empty array A consisting of N numbers is given. The array is sorted in non-decreasing order. The absolute distinct count of this array is the nu

2023년 5월 27일

https://app.codility.com/demo/results/trainingYWQXYE-X7P/Let A be a non-empty array consisting of N integers.The abs sum of two for a pair of ind

2023년 4월 23일

Located on a line are N segments, numbered from 0 to N − 1, whose positions are given in arrays A and B. For each I (0 ≤ I < N) the position of seg

2023년 5월 27일

Task descriptionThere are N ropes numbered from 0 to N − 1, whose lengths are given in an array A, lying on the floor in a line. For each I (0 ≤ I <

2023년 4월 20일

https://app.codility.com/demo/results/trainingV47U7M-RBU/A binary gap within a positive integer N is any maximal sequence of consecutive zeros th

2023년 5월 28일

https://app.codility.com/demo/results/trainingRNBDPW-72S/A DNA sequence can be represented as a string consisting of the letters A, C, G and T, w

2023년 5월 28일

A non-empty array A consisting of N integers is given.The leader of this array is the value that occurs in more than half of the elements of A.An equi

2023년 5월 28일