Problem You are given a range of integers \{L, L+1, \ldots, R\} { L , L + 1 , … , R } . An integer X X is said to be reachable if it can be represented as a sum of two not necessarily distinct integers in this range. Find…
Problem You are given an integer N N . Consider the sequence containing the integers 1, 2, \ldots, N 1 , 2 , … , N in increasing order (each exactly once). Find the maximum length of its contiguous subsequence with an even sum…