Problem Statement Problem Statement Link: CSES 1094: Increasing Array Solution Link You are given an array of n integers. You want to modify the array so that it is increasing, i.e.,…
Problem Statement Problem Statement Link: CSES 1069: Missing Number Solution Link You are given a DNA sequence: a string consisting of characters A, C, G, and T. Your task is to…
Problem Statement Problem Statement Link: CSES 1083: Missing Number Solution Link You are given all numbers between 1,2,…,n except one. Your task is to find the missing number. Input The first…
Problem Statement Problem Statement Link: CSES 1068: Weird Algorithm Solution Link Consider an algorithm that takes as input a positive integer n. If n is even, the algorithm divides it…