/**
 * Given a range of numbers from 'start' to 'end', find two numbers that add up to the 'target' value.
 *
 * @param start The starting number of the range.
 * @param end The ending number of the range.
 * @param target The desired sum of two numbers.
 * @return A Pair containing the two numbers that add up to the target value, if found. Otherwise, returns null.
 */
fun findSumInRange(start: Int, end: Int, target: Int): Pair<Int, Int>? {

    for (i in start until end) {
        for (j in i + 1 until end) {
            if (i + j == target) {
                return Pair(i, j)
            }
        }
    }
    return null
}
/**
 * Given a range of numbers from 'start' to 'end', find two numbers that add up to the 'target' value.
 *
 * @param start The starting number of the range.
 * @param end The ending number of the range.
 * @param target The desired sum of two numbers.
 * @return A Pair containing the two numbers that add up to the target value, if found. Otherwise, returns null.
 */
fun findSumInRange(start: Int, end: Int, target: Int): Pair<Int, Int>? {
/**
 * Given a range of numbers from 'start' to 'end', find two numbers that add up to the 'target' value.
 *
 * @param start The starting number of the range.
 * @param end The ending number of the range.
 * @param target The desired sum of two numbers.
 * @return A Pair containing the two numbers that add up to the target value, if found. Otherwise, returns null.
 */
fun findSumInRange(start: Int, end: Int, target: Int): Pair<Int, Int>? {

    for (i in start until end) {
        for (j in i + 1 until end) {
            if (i + j == target) {
                return Pair(i, j)
            }
        }
    }
    return null
}